Cube¶
- class kgpy.observatories.iris.spectrograph.Cube(intensity=None, intensity_uncertainty=None, wcs=None, time=None, time_index=None, channel=None, exposure_length=None, time_wcs=None)¶
Bases:
Cube- Parameters
- __init__(intensity=None, intensity_uncertainty=None, wcs=None, time=None, time_index=None, channel=None, exposure_length=None, time_wcs=None)¶
Attributes
Relationship between physical dimension and axis index.
Intensity of each pixel in the data
Methods
__init__([intensity, intensity_uncertainty, ...])- rtype
animate(data[, time_slice, axs, thresh_min, ...])animate_channel(images, image_names[, ax, ...])animate_colors(ax[, channel_index, ...])animate_intensity([axs, thresh_min, ...])animate_intensity_channel([ax, time_slice, ...])from_archive(archive[, spectral_window])from_path_sequence(path_sequence[, ...])from_pickle([path])plot_channel(image[, image_name, ax, ...])- rtype
plot_channel_from_data(data[, ax, ...])- rtype
plot_intensity_channel([ax, time_index, ...])- rtype
plot_intensity_time([axs, time_index, ...])- rtype
plot_quantity_vs_index(ax, a[, t, a_name])plot_time(images, image_names, axs[, ...])- rtype
plot_time_from_data(data[, axs, time_index, ...])- rtype
to_pickle(path)window_doppler([shift_doppler])zeros(shape)Inheritance Diagram
- Return type
- Parameters
- animate(data, time_slice=slice(None, None, None), axs=None, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>, norm_gamma=1, frame_interval=<Quantity 100. ms>)¶
- animate_channel(images, image_names, ax=None, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>, norm_gamma=1, norm_vmin=None, norm_vmax=None, frame_interval=<Quantity 1. s>, colormap=None)¶
- animate_colors(ax, channel_index=0, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>, frame_interval=<Quantity 1. s>)¶
- animate_intensity(axs=None, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>, norm_gamma=1, frame_interval=<Quantity 100. ms>)¶
- Return type
- Parameters
- animate_intensity_channel(ax=None, time_slice=None, channel_index=0, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>, norm_gamma=1, norm_vmin=None, norm_vmax=None, frame_interval=<Quantity 100. ms>, colormap=None)¶
- Return type
- Parameters
- classmethod from_archive(archive, spectral_window='Si IV 1394')¶
- Return type
- Parameters
- classmethod from_path_sequence(path_sequence, spectral_window='Si IV 1394')¶
- Return type
- Parameters
- plot_channel(image, image_name='', ax=None, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>, colorbar_location='right', transpose=False)¶
- plot_channel_from_data(data, ax=None, time_index=0, channel_index=0, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>)¶
- plot_exposure_length(ax)¶
- Return type
typing.Tuple[matplotlib.axes.Axes,typing.List[matplotlib.lines.Line2D]]- Parameters
ax (Axes) –
- plot_intensity_channel(ax=None, time_index=0, channel_index=0, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>)¶
- plot_intensity_mean_vs_time(ax)¶
- Return type
typing.Tuple[matplotlib.axes.Axes,typing.List[matplotlib.lines.Line2D]]- Parameters
ax (Axes) –
- plot_intensity_time(axs=None, time_index=0, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>)¶
- Return type
- Parameters
- plot_quantity_vs_index(ax, a, t=None, a_name='')¶
- Return type
typing.Tuple[matplotlib.axes.Axes,typing.List[matplotlib.lines.Line2D]]- Parameters
- plot_time(images, image_names, axs, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>)¶
- Return type
- Parameters
- plot_time_from_data(data, axs=None, time_index=0, thresh_min=<Quantity 0.01 %>, thresh_max=<Quantity 99.9 %>)¶
- Return type
- Parameters
- window_doppler(shift_doppler=<Quantity 300. km / s>)¶
- Return type
- Parameters
shift_doppler (Quantity) –
- classmethod zeros(shape)¶
- Return type
- Parameters
- axis: typ.ClassVar[CubeAxis] = <kgpy.obs.spectral.CubeAxis object>¶
Relationship between physical dimension and axis index.
- channel: typ.Optional[u.Quantity] = None¶
- property colors¶
- property exposure_half_length¶
- exposure_length: typ.Optional[u.Quantity] = None¶
- intensity: typ.Optional[u.Quantity] = None¶
Intensity of each pixel in the data
- property intensity_despiked¶
- intensity_uncertainty: typ.Optional[u.Quantity] = None¶
- time: typ.Optional[astropy.time.Time] = None¶
- time_index: typ.Optional[np.ndarray] = None¶
-
time_wcs:
typing.Optional[astropy.units.Quantity] = None¶
- wcs: typ.Optional[np.ndarray] = None¶