Asn_Lv2MIRLRSFixedSlitNod

class jwst.associations.lib.rules_level2b.Asn_Lv2MIRLRSFixedSlitNod(*args, **kwargs)[source]

Bases: AsnMixin_Lv2Spectral, DMSLevel2bBase

Level2b MIRI LRS Fixed Slit background nods Association.

Characteristics:
  • Association type: spec2

  • Pipeline: calwebb_spec2

  • MIRI LRS Fixed slit

  • Single science exposure

  • Include slit nods as backgrounds

Initialize an Association.

Parameters:
version_idstr or None

Version ID to use in the name of this association. If None, nothing is added.

Attributes Summary

asnreg_marked

asnreg_role

Methods Summary

get_exposure_type(item[, default])

Modify exposure type depending on dither pointing index.

Attributes Documentation

asnreg_marked = True
asnreg_role = 'rule'

Methods Documentation

get_exposure_type(item, default='science')[source]

Modify exposure type depending on dither pointing index.

Behaves as the superclass method. However, if the constraint is_current_patt_num is True, mark the exposure type as background.

Parameters:
itemmember

The item to pull exposure type from.

defaultstr

The default value if no exposure type is present, defaults to “science”.

Returns:
str

The exposure type of the item.