SunPy instr

The instr submodule contains instrument specific routines, generally this submodule is focused on routines that process calibrated data.

Warning

This module will be removed in sunpy 3.1. This code has been moved out to sunkit-instruments.

sunpy.instr Package

sunpy.instr.fermi Module

Functions

download_weekly_pointing_file(date)

Downloads the FERMI/LAT weekly pointing file corresponding to the specified date.

get_detector_sun_angles_for_time(time, file)

Get the GBM detector angles vs the Sun for a single time.

get_detector_sun_angles_for_date(date, file)

Get the GBM detector angles vs the Sun as a function of time for a given date.

plot_detector_sun_angles(angles)

Plots the Fermi/GBM detector angles as a function of time.

met_to_utc(timeinsec)

Converts Fermi Mission Elapsed Time (MET) in seconds to a Time object.

sunpy.instr.goes Module

Functions

get_goes_event_list(timerange[, …])

Retrieve list of flares detected by GOES within a given time range.

calculate_temperature_em(goests[, …])

Calculates temperature and emission measure from a XRSTimeSeries.

calculate_radiative_loss_rate(goests[, …])

Calculates radiative loss rate from GOES observations.

calculate_xray_luminosity(goests)

Calculates GOES solar X-ray luminosity.

flux_to_flareclass(goesflux)

Converts X-ray flux into the corresponding GOES flare class.

flareclass_to_flux(flareclass)

Converts a GOES flare class into the corresponding X-ray flux.

sunpy.instr.iris Module

Functions

SJI_to_sequence(filename[, start, stop, hdu])

Read a SJI file and return a sunpy.map.MapSequence.

sunpy.instr.lyra Module

Functions

remove_lytaf_events_from_timeseries(ts[, …])

Removes periods of LYRA artifacts defined in LYTAF from a TimeSeries.

get_lytaf_events(start_time, end_time[, …])

Extracts combined lytaf file for given time range.

get_lytaf_event_types([print_event_types])

Prints the different event types in the each of the LYTAF databases.

split_series_using_lytaf(timearray, data, lytaf)

Splits LYRA timeseries around locations where “LARs” (and other data events) are observed.

sunpy.instr.rhessi Module

Functions

parse_observing_summary_hdulist(hdulist)

Parse a RHESSI observation summary file.

backprojection(calibrated_event_list[, …])

Given a stacked calibrated event list fits file create a back projection image.

parse_observing_summary_dbase_file(filename)

Parse the RHESSI observing summary database file.