class jwst.cube_build.CubeBuildStep(name=None, parent=None, config_file=None, _validate_kwds=True, **kws)[source]

Bases: jwst.stpipe.Step

CubeBuildStep: Creates a 3-D spectral cube from a given association, single model, single input file, or model container. Input parameters allow the spectral cube to be built from a provided channel/subchannel (MIRI) or grating/filer (NIRSPEC)

Create a Step instance.

  • name (str, optional) – The name of the Step instance. Used in logging messages and in cache filenames. If not provided, one will be generated based on the class name.
  • parent (Step instance, optional) – The parent step of this step. Used to determine a fully-qualified name for this step, and to determine the mode in which to run this step.
  • config_file (str path, optional) – The path to the config file that this step was initialized with. Use to determine relative path names.
  • **kws (dict) – Additional parameters to set. These will be set as member variables on the new Step instance.

Attributes Summary


Methods Summary


Attributes Documentation

reference_file_types = ['cubepar', 'resol']
spec = "\n channel = option('1','2','3','4','ALL','all',default='ALL')\n band = option('SHORT','MEDIUM','LONG','ALL','short','medium','long','all',default='ALL')\n grating = option('PRISIM','G140M','G140H','G235M','G235H',G395M','G395H','ALL','all',default='ALL')\n filter = option('CLEAR','F100LP','F070LP','F170LP','F290LP','ALL','all',default='ALL')\n scale1 = float(default=0.0)\n scale2 = float(default=0.0)\n scalew = float(default=0.0)\n weighting = option('msm','miripsf','area','MSM','MIRIPSF','AREA',default = 'msm')\n coord_system = option('ra-dec','alpha-beta','ALPHA-BETA',default='ra-dec')\n rois = float(default=0.0)\n roiw = float(default=0.0)\n weight_power = float(default=2.0)\n offset_list = string(default='NA')\n wavemin = float(default=None)\n wavemax = float(default=None)\n xdebug = integer(default=None)\n ydebug = integer(default=None)\n zdebug = integer(default=None)\n single = boolean(default=false)\n "

Methods Documentation