Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
plot_reconstruction Namespace Reference

Variables

 parser = argparse.ArgumentParser(description='Plot 1d reconstructions')
 metavar
 type
 int
 nargs
 default
 help
 args = parser.parse_args()
str fname = 'reconstruction_{:05d}'.format(args.step[0])
 dat = loadtxt('reconstructions_{:05d}.dat'.format(args.step[0]))
int T = 5e5
float m_p = 1.67262158e-27
float k_B = 1.3806503e-23
float f = 1.0e18 * (m_p / (2.0 * pi * k_B * T)) ** 1.5 * exp(-m_p * dat[:,0] ** 2 / (2.0 * k_B * T))
 prop_cycle
 lw
 label
 imax = find(dat[:,1] == max(dat[:,1]))
 vmax = dat[imax[0],0]
 block

Variable Documentation

◆ args

plot_reconstruction.args = parser.parse_args()

Definition at line 8 of file plot_reconstruction.py.

◆ block

plot_reconstruction.block

Definition at line 35 of file plot_reconstruction.py.

◆ dat

plot_reconstruction.dat = loadtxt('reconstructions_{:05d}.dat'.format(args.step[0]))

Definition at line 14 of file plot_reconstruction.py.

◆ default

plot_reconstruction.default

Definition at line 7 of file plot_reconstruction.py.

◆ f

float plot_reconstruction.f = 1.0e18 * (m_p / (2.0 * pi * k_B * T)) ** 1.5 * exp(-m_p * dat[:,0] ** 2 / (2.0 * k_B * T))

Definition at line 20 of file plot_reconstruction.py.

◆ fname

str plot_reconstruction.fname = 'reconstruction_{:05d}'.format(args.step[0])

Definition at line 11 of file plot_reconstruction.py.

◆ help

plot_reconstruction.help

Definition at line 7 of file plot_reconstruction.py.

◆ imax

plot_reconstruction.imax = find(dat[:,1] == max(dat[:,1]))

Definition at line 28 of file plot_reconstruction.py.

◆ int

plot_reconstruction.int

Definition at line 6 of file plot_reconstruction.py.

◆ k_B

float plot_reconstruction.k_B = 1.3806503e-23

Definition at line 19 of file plot_reconstruction.py.

◆ label

plot_reconstruction.label

Definition at line 25 of file plot_reconstruction.py.

◆ lw

plot_reconstruction.lw

Definition at line 25 of file plot_reconstruction.py.

◆ m_p

float plot_reconstruction.m_p = 1.67262158e-27

Definition at line 18 of file plot_reconstruction.py.

◆ metavar

plot_reconstruction.metavar

Definition at line 6 of file plot_reconstruction.py.

◆ nargs

plot_reconstruction.nargs

Definition at line 6 of file plot_reconstruction.py.

◆ parser

plot_reconstruction.parser = argparse.ArgumentParser(description='Plot 1d reconstructions')

Definition at line 5 of file plot_reconstruction.py.

◆ prop_cycle

plot_reconstruction.prop_cycle

Definition at line 24 of file plot_reconstruction.py.

◆ T

int plot_reconstruction.T = 5e5

Definition at line 17 of file plot_reconstruction.py.

◆ type

plot_reconstruction.type

Definition at line 6 of file plot_reconstruction.py.

◆ vmax

plot_reconstruction.vmax = dat[imax[0],0]

Definition at line 29 of file plot_reconstruction.py.