subtractsky.cpp File Reference

Functions

Variables


Function Documentation

void print_usage ( util::OptionParser &  flags  ) 
void add_options ( util::OptionParser &  flags  ) 

References g.

void mask_wavelength ( MArray< float, 2 > &  In,
MArray< float, 2 > &  In_e,
const Distortion D,
const float  wavelength,
const float  width 
)

Mask a region around a particular wavelength. Used mainly to mask 5577.

References Distortion::map_wf_x(), and Distortion::map_xy_wavelength().

Referenced by main().

void mask_cosmics ( const MArray< float, 2 > &  In,
const FiberModel F,
const Distortion D,
MArray< float, 2 > &  In_e 
)

Crude and quick median-based cosmic filter

References immedian::ImMedian< T >::evaluateBox(), FiberModel::get_cumulative_fiberflux(), and rad.

Referenced by main().

MArray<bool,1> find_continuum_sources ( const Continuum C,
const float  sn_thresh 
)

References g, and Continuum::get_sn_fiber().

Referenced by main().

MArray<float,2> try_read_error_file ( const string &  filename,
const MArray< float, 2 > &  In,
bool *  haveerror 
)

References prepend_filename().

Referenced by main().

void save_file ( const string &  filename,
MArray< float, 2 >  Out,
FitsHeader  header,
const string &  cmdline 
)

Save Out in the filename

Parameters:
[in] filename,: name of the output file
[in] Out,: Marray to save
[in] header,: 

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

const string version = "$Id: subtractsky.cpp 998 2015-05-22 12:23:42Z drory $"
struct globals g

Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1