Compact Pipelines

The FluxCompensator has several pre-constructed pipelines built-in, constructed with the class

CompactPipeline objects harbor the filter & PSF information of several observational surveys, e.g. GLIMPSE, MIPSGal, HiGAL.

Built-in CompactPipeline objects

  • 2MASS survey TWOMASSSURVEY_J, TWOMASSSURVEY_H, TWOMASSSURVEY_K
  • WISE survey WISESURVEY_WISE1, WISESURVEY_WISE2, WISESURVEY_WISE3, WISESURVEY_WISE4
  • GLIMPSE GLIMPSE_IRAC1, GLIMPSE_IRAC2, GLIMPSE_IRAC3, GLIMPSE_IRAC4
  • MIPSGal MIPSGA_MIPS1, MIPSGAL_MIPS2
  • HiGAL HIGAL_PACS1, HIGAL_PACS2, HIGAL_SPIRE1, HIGAL_SPIRE2, HIGAL_SPIRE3

Building CompactPipelines

You can build a CompactPipeline in the following way:

from fluxcompensator.database.compact_pipeline import CompactPipeline

# setting up some filter)object and some psf_object
filter_object = Filter(...)     # or Filter object from database
psf_object = GaussianPSF(...)   # or PSF object from database, FilePSF(...), FunctionPSF(...)

# initiate CompactPipeline
compact_pipeline = CompactPipeline(PSF_object=psf_object,
                   PSF_resolution=3.,
                   filter_object=filter_object)

Note

Here GaussianPSF and Filter are place holders some comparable filter_object or psf_object. They can be replaced by the respected classes in the database or by self-constructed PSF and filter classes. To set up there objects see documentation of the Filter Convolution and the PSF convolution.

Pixel resolution can be given manually or extracted from the Database. See the documentation of Database for further instructions.