soxspipe.recipes.soxs_stare¶
Reduce SOXS/Xshooter data taken in stare mode
- Author
David Young & Marco Landoni
- Date Created
February 28, 2022
Module Contents¶
Classes¶
Reduce SOXS/Xshooter data taken in stare mode |
API¶
- class soxspipe.recipes.soxs_stare.soxs_stare(log, settings=False, inputFrames=[], verbose=False, overwrite=False, command=False, debug=False, turnOffMP=False)[source][source]¶
Bases:
soxspipe.recipes.base_recipe.base_recipeReduce SOXS/Xshooter data taken in stare 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– show 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.
See
produce_productmethod for usage.Initialization
- produce_product()[source][source]¶
The code to generate the product of the soxs_stare recipe
Return:
productPath– the path to the final product
Usage
from soxspipe.recipes import soxs_stare recipe = soxs_stare( log=log, settings=settings, inputFrames=fileList ) stareFrame = recipe.produce_product()