pyimcom.diagnostics.starcube_nonoise

Code to generate a catalog of injected stars and their properties in the coadded image.

Functions

gen_starcube_nonoise

Extracts the noiseless star cube and the moments.

Functions

gen_starcube_nonoise(infile_fcn, outstem[, nblockmax])

Extracts the noiseless star cube and the moments.

Module Contents

gen_starcube_nonoise(infile_fcn, outstem, nblockmax=100)[source]

Extracts the noiseless star cube and the moments.

Parameters:
  • infile_fcn (function) – A function that returns the input file path given block (ix,iy).

  • outstem (str) – Output file stem.

  • nblockmax (int, optional) – Maximum number of blocks on each axis of a mosaic.

Returns:

output – The return parameters dictionary contains two strings: key ‘STARCAT’ points to the file name for the star catalog, and key ‘FIDHIST’ points to the file name for the fidelity histogram.

Return type:

dict