CubeBuildStep

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.

Parameters:
  • 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

reference_file_types
spec

Methods Summary

process(input)

Attributes Documentation

reference_file_types = ['cubepar', 'resol']
spec = "\n channel = option('1','2','3','4','ALL','all',default='ALL') # Options: 1,2,3,4,or All\n band = option('SHORT','MEDIUM','LONG','ALL','short','medium','long','all',default='ALL') # Options: SHORT,MEDIUM,LONG, or ALL \n grating = option('PRISIM','G140M','G140H','G235M','G235H',G395M','G395H','ALL','all',default='ALL') # Options: PRISIM,G140M,G140H,G235M,G235H,G395M,G395H, or ALL \n filter = option('CLEAR','F100LP','F070LP','F170LP','F290LP','ALL','all',default='ALL') # Options: CLEAR,F100LP,F070LP,F170LP,F290LP, or ALL\n scale1 = float(default=0.0) # cube sample size to use for axis 1, arc seconds \n scale2 = float(default=0.0) # cube sample size to use for axis 2, arc seconds\n scalew = float(default=0.0) # cube sample size to use for axis 3, microns\n weighting = option('msm','miripsf','area','MSM','MIRIPSF','AREA',default = 'msm') # Type of weighting function, msm: modified Shepard Method, miripsf: use information on shape of miri psf in the msm method, Area: only used if coord_system = alpha-beta [advanced option] \n coord_system = option('ra-dec','alpha-beta','ALPHA-BETA',default='ra-dec') # Coordinate system of the output IFUcube. Options: ra-dec or alpha-beta\n rois = float(default=0.0) # region of interest spatial size, arc seconds\n roiw = float(default=0.0) # region of interest wavelength size, microns \n weight_power = float(default=2.0) # Weighting option to use when combining pixel surface brightness in the RIO centered on cube spaxial center\n offset_list = string(default='NA') # A file for dithered data containing additional ra and dec offsets to be applied to files in the association. The offset tweaks the wcs of the input exposures. Offsets are given in arcseconds. EXPERIMENTAL OPTION - ADVANCED USERS ONLY\n wavemin = float(default=None) # Minimum wavelength to be used in the IFUCube\n wavemax = float(default=None) # Maximum wavelength to be used in the IFUCube \n xdebug = integer(default=None) # debug option, x spaxel value to report information on \n ydebug = integer(default=None) # debug option, y spaxel value to report information on \n zdebug = integer(default=None) # debug option, z spaxel value to report information on \n single = boolean(default=false) # Internal pipeline option used by mrs_imatch and outlier detection\n output_type = option('band','channel','grating','multi',default='band') # Type of output cube to create. Options = band,channel,grating, multi\n# output_use_model = boolean(default=true)\n "

Methods Documentation

process(input)[source]