plot_data package

Submodules

plot_data.plot_averages module

usage: plot_averages [-h] [--datapath DATAPATH] [--outpath OUTPATH]
                     [--verbose] [--no_mpi] [--nprocs NPROCS] [--nskip NSKIP]
                     [--ifile IFILE] --fields FIELDS [FIELDS ...] --fname
                     FNAME [FNAME ...] [--dpi DPI]

Named Arguments

--datapath

Path to the data files.

--outpath

Path to the output directory.

--verbose

Flag to turn on various statements.

Default: False

--no_mpi

Flag to manually disable mpi features.

Default: False

--nprocs

Number of processors to devote to each file when operating inparallel mode

Default: 1

--nskip

Skip every “nskip” entries in “pname” list.

--ifile

Path to the input file for configuring plots.

--fields

Names of the data fields to plot.

--fname

Name of the data file to load and plot (.pkl).

Default: “average_data”

--dpi

dpi of the output image (default = 300).

Default: 300

Load averages from npz and plot.

plot_data.plot_averages.get_args(parser)[source]

Get the arguments from the parser.

plot_data.plot_averages.get_base_parser()[source]

Get the base level parser primarily for documentation.

plot_data.plot_averages.get_parser()[source]

Get the parser.

plot_data.plot_averages.main()[source]

plot_data.plot_grid_info module

usage: plot_grid_info [-h] [--datapath DATAPATH] [--outpath OUTPATH]
                      [--verbose] [--no_mpi] [--nprocs NPROCS] [--nskip NSKIP]
                      [--ifile IFILE] --fname FNAME [--dpi DPI]
                      [--ptype {line,pie,bar}]

Named Arguments

--datapath

Path to the data files.

--outpath

Path to the output directory.

--verbose

Flag to turn on various statements.

Default: False

--no_mpi

Flag to manually disable mpi features.

Default: False

--nprocs

Number of processors to devote to each file when operating inparallel mode

Default: 1

--nskip

Skip every “nskip” entries in “pname” list.

--ifile

Path to the input file for configuring plots.

--fname

Name of the data file to load and plot (.pkl).

Default: “grid_info”

--dpi

dpi of the output image (default = 300).

Default: 300

--ptype

Possible choices: line, pie, bar

type of plot to make.

Default: “line”

Load grid info from pickle and plot.

plot_data.plot_grid_info.get_args(parser)[source]

Get the arguments from the parser.

plot_data.plot_grid_info.get_base_parser()[source]

Get the base level parser primarily for documentation.

plot_data.plot_grid_info.get_parser()[source]

Get the parser.

plot_data.plot_grid_info.main()[source]

plot_data.plot_slices module

usage: plot_slices [-h] [--datapath DATAPATH] [--outpath OUTPATH]
                   [--field FIELD] [--verbose] [--no_mpi] [--nprocs NPROCS]
                   [--nskip NSKIP] [--ifile IFILE] [--cmap CMAP] [--dpi DPI]
                   [--pbox PBOX [PBOX ...]] [--fbounds FBOUNDS [FBOUNDS ...]]

Named Arguments

--datapath

Path to the data files.

--outpath

Path to the output directory.

--field

Name of the field for visualization.

--verbose

Flag to turn on various statements.

Default: False

--no_mpi

Flag to manually disable mpi features.

Default: False

--nprocs

Number of processors to devote to each file when operating inparallel mode

Default: 1

--nskip

Skip every “nskip” entries in “pname” list.

--ifile

Path to the input file for configuring plots.

--cmap

Colormap for the 2D plot.

Default: “dusk”

--dpi

dpi of the output image (default = 300).

Default: 300

--pbox

Bounding box of the plot specified by the two corners (x0 y0 x1 y1).

--fbounds

Bounds for the colorbar.

Load slices from npz and plot.

plot_data.plot_slices.get_args(parser)[source]

Get the arguments from the parser.

plot_data.plot_slices.get_base_parser()[source]

Get the base level parser primarily for documentation.

plot_data.plot_slices.get_parser()[source]

Get the parser.

plot_data.plot_slices.main()[source]

Module contents

class plot_data.ListScriptsAction(option_strings, dest, nargs=None, const=None, default=None, type=None, choices=None, required=False, help=None, metavar=None)[source]

Bases: Action

plot_data.list_scripts(directory)[source]
plot_data.main()[source]