soxs_order_centres
∞
The purpose of the soxs_order_centres
recipe is to find and fit the order centres with low-level polynomials.
Input ∞
Data Type | Content | Related OB |
---|---|---|
FITS Image | Flat lamp through a single-pinhole mask | SOXS_slt_cal_VISLampFlatPinhole , SOXS_slt_cal_NIRLampFlatPinhole |
FITS Image | Master Dark Frame (VIS only) | - |
FITS Image | Master Bias Frame (VIS only) | - |
FITS Image | Dark frame (Lamp-Off) of equal exposure length as single-pinhole frame (Lamp-On) (NIR only) | SOXS_slt_cal_NIRLampFlatPinhole |
CSV File | First guess dispersion solution | - |
Parameters ∞
Parameter | Description | Type | Entry Point | Related Util |
---|---|---|---|---|
order-sample-count | number of times along the order in the dispersion direction to measure the order-centre trace | int | settings file | |
peak-sigma-limit | minimum value a peak must be above the median value of pixel to be considered for order-trace fitting | int | settings file | |
disp-axis-deg | degree of dispersion axis component of polynomal fit to order-centre traces | int | settings file | |
order-deg | degree of order component of polynomal fit to order-centre traces | int | settings file | |
poly-fitting-residual-clipping-sigma | sigma distance limit, where distance is the difference between the detected and polynomial fitted positions of the order-trace, outside of which to remove lines from the fit | float | settings file | |
poly-clipping-iteration-limit | number of sigma-clipping iterations to perform before settings on a polynomial fit for the order-centre traces | int | settings file |
Method ∞
Once the single-pinhole flat-lamp frame has had the bias, dark and background subtracted it is passed to the detect_continuum utility to fit the order centres.
Output ∞
Data Type | Content |
---|---|
CSV File | order table containing coefficients to the polynomial fits describing the order centre locations |
QC Metrics ∞
Plots similar to the one below are generated after each execution of soxs_order_centres
.
Metric | Description |
---|---|
TBC | … |
Recipe API ∞
-
class
soxs_order_centres
(log, settings=False, inputFrames=[], verbose=False, overwrite=False)[source] ∞ The soxs_order_centres recipe
Key Arguments
log
– loggersettings
– the settings dictionaryinputFrames
– input fits frames. Can be a directory, a set-of-files (SOF) file or a list of fits frame paths.verbose
– verbose. True or False. Default Falseoverwrite
– overwrite the prodcut file if it already exists. Default False
Usage
from soxspipe.recipes import soxs_order_centres order_table = soxs_order_centres( log=log, settings=settings, inputFrames=a["inputFrames"] ).produce_product()
Todo
add a tutorial about
soxs_order_centres
to documentation