visualize_miri_mrs_fov

breads.jwst_tools.visualize_miri_mrs_fov(comp_name, comp_sep, comp_pa, v3pa, center_on='star', show_inner_diff_spikes=True, diff_spike_len=4, psf_core_check_radius=None, mrs_band='2A', offset_star=None, ax=None, disk_pa=None, disk_semimajor_axis=None, disk_inclination=None, verbose=False)[source]

Visualize MIRI MRS FOV for a companion

Parameters:
comp_namestr

Name of a companion. Used only for plot label. Can be a list.

comp_sepastropy.units.Quantity

Separation of companion, in arcseconds or equivalent unit. Can be a list.

comp_paastropy.units.Quantity

PA of companion, in degrees or equivalent unit. Can be a list.

v3pafloat

JWST observatory V3 PA value to use when creating the figure

center_onstr

Where to center the IFU FOV. May be “star”, “companion”, “midpoint” between them

show_inner_diff_spikesbool

Also display lines to indicate the inner smaller set of diffraction spikes in JWST’s complex PSF.

diff_spike_lenfloat

length to draw the spikes, in arcseconds

mrs_band: str

MRS channel, as a number followed by A/B/C. e.g., “2A”, “3C, etc.

psf_core_check_radiusfloat

Radius in arcseconds to use when checking for proximity to the stellar PSF core. The code will check and warn about potentially saturated pixels near the PSF core, and will flag those IFU slices in red. You can adjust this parameter based on expectations for how many spaxels may saturate for your target.

Returns:
None