has_uniform_source

jwst.barshadow.bar_shadow.has_uniform_source(slitlet, force_type=None)[source]

Determine whether the slitlet contains a uniform source.

Parameters:
slitletSlitModel

The slitlet being interrogated.

force_typestr or None

Source type to force to and decide upon.

Returns:
answerbool

True if the slitlet contains a uniform source.