FSF¶
- class musered.FSF(output_dir=None, log_dir='.', temp_dir=None, **kwargs)[source]¶
Bases:
musered.recipes.recipe.PythonRecipeRecipe to compute FSF for individual exposures
Attributes Summary
Type of data to process (DPR.TYPE).
Return the list of calibration frames.
Default parameters.
Frames that must be excluded by default.
Minimum number of input files, as required by the DRS.
Default output directory.
Output frames.
Name of the recipe.
Recipe version.
Methods Summary
Activate the logging to a file.
Deactivate the logging to a file.
dump([include_files, json_col])Dump recipe results, stats, parameters in a dict.
dump_params([json_col])Dump non-default parameters to a JSON string.
run(flist, *args[, params])Run the recipe.
Attributes Documentation
- DPR_TYPE = 'OBJECT'¶
Type of data to process (DPR.TYPE). If None, cpl.Recipe.tag is used.
- calib_frames¶
Return the list of calibration frames.
- default_params = {}¶
Default parameters.
- exclude_frames = {}¶
Frames that must be excluded by default.
- n_inputs_min = None¶
Minimum number of input files, as required by the DRS.
- n_inputs_rec = 1¶
- output_dir = 'fsf'¶
Default output directory.
- output_frames = ['FSF']¶
Output frames.
- recipe_name = 'fsf'¶
Name of the recipe.
- version = 'muse_psfr-unknown'¶
Recipe version.
Methods Documentation
- activate_file_logger()¶
Activate the logging to a file.
- deactivate_file_logger()¶
Deactivate the logging to a file.
- dump(include_files=False, json_col=False)[source]¶
Dump recipe results, stats, parameters in a dict.
- dump_params(json_col=False)¶
Dump non-default parameters to a JSON string.
- run(flist, *args, params=None, **kwargs)¶
Run the recipe.
Subclasses must implement
BaseRecipe._runto customize this.- Parameters
- fliststr, list of str, or dict
List of input raw files. Can be a file, list of files, or a dict with DPR_TYPE as key and list of files as value.
- paramsdict
Parameters for the recipe.
- *args, **kwargs
Additional arguments are passed to
BaseRecipe._run.