deformer3.cpp File Reference

Defines

Functions

Variables


Define Documentation

#define LTL_RANGE_CHECKING

Function Documentation

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

References g.

int write_reference_files ( MArray< double, 1 > &  X_vals,
MArray< double, 1 > &  Y_vals,
MArray< double, 1 > &  W_vals,
MArray< double, 1 > &  F_vals,
Distortion D,
const string &  inputfile 
)

Function to write reference files to be loaded in DS9 as region files. Files give position of the trace and arc light peaks.

References Distortion::map_wf_x(), Distortion::map_wf_y(), Distortion::map_xy_fiber(), Distortion::map_xy_wavelength(), and version.

Referenced by fit_with_trace().

void write_qc_files ( Distortion D,
string &  inputfile 
)

Output fit files for quality control showing deviations between forward and backward solution

References __xsize__, __ysize__, Distortion::map_wf_x(), Distortion::map_wf_y(), Distortion::map_xf_y(), Distortion::map_xy_fiber(), and Distortion::map_xy_wavelength().

void fit_distortion ( CompleteFiberData  Vals,
Distortion D 
)
void fit_fibermodel ( MArray< FiberDataTuple, 2 > &  TraceData,
FiberModel F 
)
void fit_with_trace ( MArray< DistDataTuple, 2 > &  TracePeaks,
Distortion D,
const string &  inputfile 
)
void fit_with_arc ( MArray< DistDataTuple, 2 > &  ArcPeaks,
Distortion D,
const string &  inputfile 
)
MArray<float,1> get_refvalues ( const MArray< DistDataTuple, 2 > &  ArcPeaks,
const MArray< DistDataTuple, 2 > &  TracePeaks,
int  line 
)

get positions from the arc peaks used as reference values for trace and calibration

References c.

Referenced by fit_initial_dist(), and main().

MArray<float,1> measure_5577_flux ( const MArray< float, 2 > &  A,
const Distortion D 
)

Measure the flux in the 5577 night sky line. Returns a 1-D array with the fluxes in the line for each fiber.

References df, Extractor::extract_aperture(), and Distortion::get_numfibers().

Referenced by main(), and refit_models().

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

Variable Documentation

const string version = "$Id: deformer3.cpp 1035 2015-07-16 16:16:26Z drory $"
struct globals g

Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1