MosaicPipeline

class romancal.pipeline.MosaicPipeline(*args, **kwargs)[source]

Bases: RomanPipeline

MosaicPipeline: Apply all calibration steps to the roman data to produce level 3 products. Included steps are: flux, skymatch, outlier_detection, resample and source catalog.

See Step for the parameters.

Attributes Summary

class_alias

spec

step_defs

Methods Summary

process(dataset)

Process the Roman WFI data from Level 2 to Level 3

save_model(model, **kwargs)

Saves the given model using the step/pipeline's naming scheme

Attributes Documentation

class_alias = 'roman_mos'
spec
save_results = boolean(default=False)
on_disk = boolean(default=False)
resample_on_skycell = boolean(default=True)
suffix = string(default="coadd")
step_defs: ClassVar = {'flux': <class 'romancal.flux.flux_step.FluxStep'>, 'outlier_detection': <class 'romancal.outlier_detection.outlier_detection_step.OutlierDetectionStep'>, 'resample': <class 'romancal.resample.resample_step.ResampleStep'>, 'skymatch': <class 'romancal.skymatch.skymatch_step.SkyMatchStep'>, 'source_catalog': <class 'romancal.source_catalog.source_catalog_step.SourceCatalogStep'>}

Methods Documentation

process(dataset)[source]

Process the Roman WFI data from Level 2 to Level 3

save_model(model, **kwargs)[source]

Saves the given model using the step/pipeline’s naming scheme

Parameters:
  • model (a instance of AbstractDataModel) – The model to save.

  • suffix (str) – The suffix to add to the filename.

  • idx (object) – Index identifier.

  • output_file (str) – Use this file name instead of what the Step default would be.

  • force (bool) – Regardless of whether save_results is False and no output_file is specified, try saving.

  • components (dict) – Other components to add to the file name.

Returns:

output_paths – List of output file paths the model(s) were saved in.

Return type:

[str[, …]]