soxspipe.recipes.soxs_order_centres¶
further constrain the first guess locations of the order centres derived in soxs_disp_solution
- Author
David Young & Marco Landoni
- Date Created
September 8, 2020
Module Contents¶
Classes¶
further constrain the first guess locations of the order centres derived in |
Functions¶
tuning the spatial solution |
API¶
- soxspipe.recipes.soxs_order_centres.parameterTuning(p, log, recipeSettings, settings, orderFrame, disp_map_table, orderPixelTable, qc, products, sofName, binx, biny)[source][source]¶
tuning the spatial solution
- class soxspipe.recipes.soxs_order_centres.soxs_order_centres(log, settings=False, inputFrames=[], verbose=False, overwrite=False, polyOrders=False, command=False, debug=False, turnOffMP=False)[source][source]¶
Bases:
soxspipe.recipes.base_recipe.base_recipefurther constrain the first guess locations of the order centres derived in
soxs_disp_solutionKey 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 product file if it already exists. Default FalsepolyOrders– the orders of the x-y polynomials used to fit the dispersion solution. Overrides parameters found in the yaml settings file. e.g 345400 is order_x=3, order_y=4 ,wavelength_x=5 ,wavelength_y=4. Default False.command– the command called to run the recipedebug– debug mode. True or False. Default FalseturnOffMP– turn off multiprocessing. True or False. Default False. If True, multiprocessing will be turned off and the recipe will run in serial. This is useful for debugging.
Usage
from soxspipe.recipes import soxs_order_centres order_table = soxs_order_centres( log=log, settings=settings, inputFrames=a["inputFrames"] ).produce_product()
Initialization
- produce_product()[source][source]¶
generate the order-table with polynomal fits of order-centres
Return:
productPath– the path to the order-table