mangadap.par.analysisplan module

Classes to handle MaNGA DAP analysis plans.

Revision history

11 May 2016: Original implementation by K. Westfall (KBW)
03 Jun 2016: (KBW) Any key with value ‘None’ is converted to NoneType

License

Copyright © 2019, SDSS-IV/MaNGA Pipeline Group


class mangadap.par.analysisplan.AnalysisPlan(drpqa_key=None, drpqa_clobber=None, bin_key=None, bin_clobber=None, continuum_key=None, continuum_clobber=None, elmom_key=None, elmom_clobber=None, elfit_key=None, elfit_clobber=None, spindex_key=None, spindex_clobber=None)[source]

Bases: mangadap.par.parset.KeywordParSet

Generic class to handle MaNGA DAP analysis plans.

The defined parameters are:

Key Type Options Default Description
drpqa_key str Data reduction quality assessment method keyword
drpqa_clobber bool False Overwrite any existing data-quality assessment reference files
bin_key str Spatial binning method keyword
bin_clobber bool False Overwrite any existing spatial binning reference files
continuum_key str Stellar-continuum fitting method keyword
continuum_clobber bool False Overwrite any existing stellar-continuum fitting reference files
elmom_key str Emission-line moments measurement method keyword
elmom_clobber bool False Overwrite any existing emission-line moments reference files
elfit_key str Emission-line modeling method keyword
elfit_clobber bool False Overwrite any existing emission-line modeling reference files
spindex_key str Spectral-index measurement method keyword
spindex_clobber bool False Overwrite any existing spectral-index reference files
_check()[source]

Check that the plan makes sense:

  • To bin, must first assess the DRP data
  • To do anythin else, must bin.
  • Emission-line moments and profile fits should subtract the best-fitting stellar continuum to account for the stellar-absorption below the lines, but it’s not explicitly necessary for the code to run.
  • The spectral indices should subtract the best-fitting emission-line model and use the best-fitting stellar continuum to determine the velocity dispersion corrections, but neither is explicitly necessary for the code to run.
class mangadap.par.analysisplan.AnalysisPlanSet(planlist)[source]

Bases: mangadap.par.parset.ParDatabase

Container class for a set of analysis plans.

classmethod from_par_file(f)[source]

Instantiate the plan set from a par file