22 #ifndef MUSE_TRACING_H 23 #define MUSE_TRACING_H 30 #include "muse_image.h" 39 #define TRACE_BINSIZE 55 41 #define MUSE_TRACE_NPOLY 3 43 enum muse_trace_poly {
44 MUSE_TRACE_CENTER = 0,
53 double muse_trace_edgefinder(
const cpl_vector *,
double,
double *,
double *, cpl_boolean *,
const unsigned char);
cpl_polynomial ** muse_trace_table_get_polys_for_slice(const cpl_table *, const unsigned short)
construct polynomial from the trace table entry for the given slice
int muse_trace_table_get_order(const cpl_table *)
determine order of tracing polynomial from table
cpl_table * muse_trace(const muse_image *, int, double, int, cpl_table **)
carry out the tracing of the slices on CCD, save parameters in table
Structure definition of MUSE three extension FITS file.
double muse_trace_edgefinder(const cpl_vector *, double, double *, double *, cpl_boolean *, const unsigned char)
Find the midpoint and edges of a cut through a slice.
void muse_trace_polys_delete(cpl_polynomial *[])
Delete the multi-polynomial array created in relation to tracing.
cpl_error_code muse_trace_plot_samples(cpl_table *, cpl_table *, unsigned short, unsigned short, unsigned char, muse_image *)
Plotting of trace sample points and solution using gnuplot.
cpl_vector * muse_trace_locate_slices(cpl_vector *, const unsigned short, double, const unsigned char)
Find all slice midpoints across a CCD.
cpl_error_code muse_trace_plot_widths(cpl_table *, unsigned short, unsigned short, unsigned char)
Plotting the width from trace sample points using gnuplot.