Plotting IUVS KP Data

IUVS Corona Plots

pydivide.corona(iuvs, sameplot=True, density=True, radiance=True, orbit_num=None, species=None, log=False, title='IUVS Corona Observations', qt=True, exec_qt=True)[source]

Plot IUVS Corona Scan data against spacecraft altitude.

Parameters:
  • iuvs – dict iuvs kp data structure/dictionary read from file(s)
  • orbit_num – list of int The orbit numbers to plot from the IUVS data structure
  • species

    list of str The species to plot. Values can be

    Density - CO2, CO2+, O, N2, C, N, H Radiance - CO2pUVD, CO, H, O_1304, O_1356, O_2972, C_1561, C_1657, N_1493, N2, NO
  • radiance – bool If true, plots the radiance
  • density – bool If true, plots the density
  • sameplot – bool if True, put all curves on same axes if False, generate new axes for each plot
  • title – str The Title to give the plot
  • ylog – bool Displays the log of the y axis
  • qt – bool If true, plots with qt. Else creates an HTML page with bokeh.
  • exec_qt – bool If False, does not run the event loop for pyqtgraph.

Returns : None

Examples

>>> # Plot CO2 density vs spacecraft altitude.
>>> insitu, iuvs = pydivide.read(input_time=['2016-02-01', '2016-02-28'])
>>> pydivide.periapse(iuvs, species='N2', orbit=2726, log=True, density=True, radiance=False, qt=False)

IUVS Occultation Plots

pydivide.occultation(iuvs, sameplot=True, orbit_num=None, species=None, log=False, title='IUVS Occultation Observations', qt=True, exec_qt=True)[source]

Plot IUVS Stellar Occultation data against spacecraft altitude.

Parameters:
  • iuvs – dict iuvs kp data structure/dictionary read from file(s)
  • orbit_num – list of int The orbit numbers to plot from the IUVS data structure
  • species – list of str The species to plot. Values can be “CO2”, “O2”, “O3”, and “Temp.”
  • sameplot – bool if True, put all curves on same axes if False, generate new axes for each plot
  • list – bool Lists all Key Parameters instead of plotting
  • title – str The Title to give the plot
  • ylog – bool Displays the log of the y axis
  • qt – bool If true, plots with qt. Else creates an HTML page with bokeh.
  • exec_qt – bool If False, does not run the event loop for pyqtgraph.
Returns :
None

Examples

>>> # Plot CO2 density vs spacecraft altitude.
>>> insitu, iuvs = pydivide.read(input_time=['2016-01-01', '2016-01-31'])
>>> pydivide.occultation(iuvs, log=True, species=['CO2'], qt=False)
Bokeh Plot

IUVS Limb Plots

pydivide.periapse(iuvs, sameplot=True, density=True, radiance=True, orbit_num=None, species=None, obs_num=None, log=False, title='IUVS Periapse Observations', qt=True, exec_qt=True)[source]

Plot IUVS Limb Scan data against spacecraft altitude.

Parameters:
  • iuvs – dict iuvs kp data structure/dictionary read from file(s)
  • orbit_num – list of int The orbit numbers to plot from the IUVS data structure
  • species

    list of str The species to plot. Values can be

    Density - CO2, CO2+, O, N2, C, N, H Radiance - CO2pUVD, CO, H, O_1304, O_1356, O_2972, C_1561, C_1657, N_1493, N2, NO
  • radiance – bool If true, plots the radiance
  • density – bool If true, plots the density
  • sameplot – bool if True, put all curves on same axes if False, generate new axes for each plot
  • title – str The Title to give the plot
  • ylog – bool Displays the log of the y axis
  • qt – bool If true, plots with qt. Else creates an HTML page with bokeh.
  • exec_qt – bool If False, does not run the event loop for pyqtgraph.
Returns :
None

Examples

>>> # Plot CO2 density vs spacecraft altitude.
>>> insitu, iuvs = pydivide.read(input_time=['2016-02-01', '2016-02-28'])
>>> pydivide.periapse(iuvs, species='CO', orbit_num=2726, log=True, density=False, radiance=True, qt=False)
Bokeh Plot