Asn_Lv2WFSS

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

Bases: jwst.associations.lib.rules_level2_base.AsnMixin_Lv2Spectral, jwst.associations.lib.rules_level2_base.DMSLevel2bBase

Level2b WFSS/GRISM Association

Characteristics:
  • Association type: spec2

  • Pipeline: calwebb_spec2

  • Mutli-object science exposures

  • Single science exposure

  • Require a source catalog from processing of the corresponding direct imagery.

Methods Summary

add_catalog_members()

Add catalog and direct image member based on direct image members

finalize()

Finalize the association

get_exposure_type(item[, default])

Modify exposure type depending on dither pointing index

Methods Documentation

add_catalog_members()[source]

Add catalog and direct image member based on direct image members

finalize()[source]

Finalize the association

For WFSS, this involves taking all the direct image exposures, determine which one is first after last science exposure, and creating the catalog name from that image.

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

Modify exposure type depending on dither pointing index

If an imaging exposure as been found, treat is as a direct image.