cutthrough_timeseries
- cutthrough_timeseries.r_e = 6371000.0
Script for plotting a cut-through timeseries, aka keogram, aka time-elongation map, etc. for a given variable, a given set of coordinates, and a range of times.
This script takes 12 parameters, example usage:
python cutthrough_timeseries.py -var <var> -fnr <fnr1> <fnr2> -bulkpath <bulkpath> -bulkprefix <bulkprefix> -point <point1_x> <point1_y> <point1_z> <point2_x> <point2_y> <point2_z> -outputname <outputname> -outputdir <outputdir> -filt <filt> -op <op> -cmap <cmap>
- Parameter descriptions:
var: Variable to plot (e.g. “proton/vg_rho”, “vg_b_vol”) fnr1: First file number to plot fnr2: Last file number to plot bulkpath: Path to directory containing bulk files bulkprefix: Starting string of bulk file name (e.g. bulk, bulk1, bulk5) point1: First point on the line to plot point2: Last point on the line to plot outputname: Name of output file outputdir: Path to output directory filt: Filter out temporally slowly changing signal? (<=0: no filtering, >0: filter with specified window size), default=-1 op: Variable operator, default=”pass” cmap: Colormap, default=”viridis”