soxspipe.recipes.soxs_offset¶
Reduce SOXS/Xshooter data taken in offset mode
- Author
David Young & Marco Landoni
- Date Created
February 27, 2024
Module Contents¶
Classes¶
Reduce SOXS/Xshooter data taken in offset mode |
API¶
- class soxspipe.recipes.soxs_offset.soxs_offset(log, settings=False, inputFrames=[], verbose=False, overwrite=False, command=False, debug=False, turnOffMP=False)[source][source]¶
Bases:
soxspipe.recipes.soxs_nod.soxs_nodReduce SOXS/Xshooter data taken in offset mode
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 product file if it already exists. Default Falsecommand– the command called to run the recipedebug– generate debug plots. 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_offset recipe = soxs_offset( log=log, settings=settings, inputFrames=fileList ).produce_product()
Initialization
- process_single_ab_nodding_cycle(aFrame, bFrame, locationSetIndex, orderTablePath, notFlattened=False, masterFlat=False)[source]¶
- produce_product()[source][source]¶
The code to generate the product of the soxs_offset recipe
Return:
productPath– the path to the final product
Usage
from soxspipe.recipes import soxs_offset recipe = soxs_offset( log=log, settings=settings, inputFrames=fileList ) offsetFrame = recipe.produce_product()