Function Arguments
/*-***********************************************************************/ /* */ /* mBackground */ /* */ /* Montage is a set of general reprojection / coordinate-transform / */ /* mosaicking programs. Any number of input images can be merged into */ /* an output FITS file. The attributes of the input are read from the */ /* input files; the attributes of the output are read a combination of */ /* the command line and a FITS header template file. */ /* */ /* This module, mBackground, removes a background plane from a single */ /* projected image. */ /* */ /* char *input_file Input FITS file */ /* char *output_file Output background-removed FITS file */ /* */ /* double A A coefficient in (A*x + B*y + C) background */ /* level equation */ /* double B B coefficient in (A*x + B*y + C) background */ /* level equation */ /* double C C level in (A*x + B*y + C) background */ /* level equation */ /* */ /* int noAreas Don't process associated area images */ /* */ /* int debug Debugging output level */ /* */ /*************************************************************************/ struct mBackgroundReturn *mBackground(char *input_file, char *ofile, double A, double B, double C, int noAreasin, int debug)
Return Structure
struct mBackgroundReturn { int status; // Return status (0: OK, 1:ERROR) char msg [1024]; // Return message (for error return) char json[4096]; // Return parameters as JSON string double time; // Run time (sec) };