This page was created by the IDL library routine mk_html_help2.

Last modified: Wed Dec 6 12:50:16 2017.


Directory Listing of Routines


Routine Descriptions

FLATTEN_SPECTRA

[Next Routine] [List of Routines]
 PROCEDURE:
         flatten_spectra

 PURPOSE:
         Create quick plots of spectra at a certain time (i.e., energy vs. eflux, PA vs. eflux, etc)
 KEYWORDS:
       [XY]LOG:   [XY] axis in log format
       [XY]RANGE: 2 element vector that sets [XY] axis range
       NOLEGEND:  Disable legend display
       COLORS:    n element vector that sets the colors of the line in order that they are in tplot_vars.options.varnames
                  n is number of tplot variables in tplot_vars.options.varnames
             
       PNG:         save png from the displayed windows (cannot be used with /POSTRSCRIPT keyword)
       POSTRSCRIPT: create postscript files instead of displaying the plot
       PREFIX:      filename prefix
       FILENAME:    custorm filename, including folder. 
                    By default the folder is !mms.local_data_dir and filename includes tplot names and selected time (or center time)      
       
       TIME_IN:     if the keyword is specified the time is determined from the variable, not from the cursor pick.
       TRANGE:      Two-element time range over which data will be averaged. 
       SAMPLES:     Number of nearest samples to time to average. Override trange.      
       WINDOW:      Length in seconds over which data will be averaged. Override trange.
       CENTER_TIME: Flag denoting that time should be midpoint for window instead of beginning.
                    If TRANGE is specify, the the time center point is computed.
       RANGETITLE:  If keyword is set, display range of the averagind time instead of the center time
                    Does not affect deafult name of the png or postscript file 

 EXAMPLE:
     To create line plots of FPI electron energy spectra for all MMS spacecraft:
     
       MMS> mms_load_fpi, datatype='des-moms', trange=['2015-12-15', '2015-12-16'], probes=[1, 2, 3, 4]
       MMS> tplot, 'mms?_des_energyspectr_omni_fast'
       MMS> flatten_spectra, /xlog, /ylog
       
       --> then click the tplot window at the time you want to create the line plots at

 NOTES:
     work in progress; suggestions, comments, complaints, etc: egrimes@igpp.ucla.edu
     
$LastChangedBy: adrozdov $
$LastChangedDate: 2017-11-20 19:31:47 -0800 (Mon, 20 Nov 2017) $
$LastChangedRevision: 24329 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/tags/spedas_2_1/projects/mms/common/util/flatten_spectra.pro $

(See projects/mms/common/util/flatten_spectra.pro)


MMS_DRAW_CIRCLE

[Previous Routine] [List of Routines]
 PROCEDURE:
         mms_draw_circle

 PURPOSE:
         Draws (and fills in) a circle
 
 NOTES:
         Taken from mms_fpi_dist_slice_comparison_crib, 8/26/16
         
 $LastChangedBy: egrimes $
 $LastChangedDate: 2016-08-26 09:12:48 -0700 (Fri, 26 Aug 2016) $
 $LastChangedRevision: 21731 $
 $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/tags/spedas_2_1/projects/mms/common/util/mms_draw_circle.pro $

(See projects/mms/common/util/mms_draw_circle.pro)