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

Variables

 infile = sys.argv[1]
 f = pt.vlsvfile.VlsvReader(infile)
 coords = f.get_ionosphere_node_coords()
 lat = np.arctan2(coords[:,2], np.sqrt(coords[:,1]*coords[:,1] + coords[:,0]*coords[:,0]))
 lon = np.arctan2(coords[:,1], coords[:,0])
 phi = f.read_ionosphere_variable("ig_potential");

Variable Documentation

◆ coords

lfmformat.coords = f.get_ionosphere_node_coords()

Definition at line 11 of file lfmformat.py.

◆ f

lfmformat.f = pt.vlsvfile.VlsvReader(infile)

Definition at line 9 of file lfmformat.py.

◆ infile

lfmformat.infile = sys.argv[1]

Definition at line 7 of file lfmformat.py.

◆ lat

lfmformat.lat = np.arctan2(coords[:,2], np.sqrt(coords[:,1]*coords[:,1] + coords[:,0]*coords[:,0]))

Definition at line 13 of file lfmformat.py.

◆ lon

lfmformat.lon = np.arctan2(coords[:,1], coords[:,0])

Definition at line 14 of file lfmformat.py.

◆ phi

lfmformat.phi = f.read_ionosphere_variable("ig_potential");

Definition at line 15 of file lfmformat.py.