API

Public Step API

jwst.barshadow.barshadow_step Module

Barshadow correction step.

Classes

BarShadowStep([name, parent, config_file, ...])

Correct NIRSpec MOS data for barshadow effects.

Complete Developer API

jwst.barshadow.bar_shadow Module

Calculate bar shadow correction for science data sets.

Functions

do_correction(input_model[, ...])

Correct MSA data for bar shadows.

create_shutter_elements(barshadow_model)

Create half-shutter pieces for assembling a full barshadow array.

create_shadow(shutter_elements, shutter_status)

Create a bar shadow reference array from the shutter elements.

create_empty_shadow_array(nshutters)

Create the empty bar shadow array.

add_first_half_shutter(shadow, shadow_element)

Add the first half shutter to the shadow array.

add_next_shutter(shadow, shadow_element, ...)

Add a single internal shutter and advance the last row by 501.

add_last_half_shutter(shadow, ...)

Add the last half shutter from the 1x1 array.

has_uniform_source(slitlet[, force_type])

Determine whether the slitlet contains a uniform source.