@@ -25,15 +25,15 @@ A :class:`~stagpy.stagyydata.StagyyData` instance has two attributes to access
2525time steps and snapshots in a consistent way:
2626:attr: `~stagpy.stagyydata.StagyyData.steps ` and
2727:attr: `~stagpy.stagyydata.StagyyData.snaps `. Accessing the ``n ``-th time step
28- or the ``m-th `` snapshot is done using the item access notation (square
28+ or the ``m ``-th snapshot is done using the item access notation (square
2929brackets)::
3030
3131 sdat.steps[n]
3232 sdat.snaps[m]
3333
34- These two expressions each return a :class: `~stagpy.stagyydata._Step ` instance.
34+ These two expressions each return a :class: `~stagpy._step.Step ` instance.
3535Moreover, if the ``m ``-th snapshot was done at the ``n ``-th step, both
36- expressions return the same :class: `~stagpy.stagyydata._Step ` instance. In
36+ expressions return the same :class: `~stagpy._step.Step ` instance. In
3737other words, if for example the 100th snapshot was made at the 1000th step,
3838``sdat.steps[1000] is sdat.snaps[100] `` is true. The correspondence between
3939time steps and snapshots is deduced from available binary files.
@@ -134,8 +134,8 @@ Both are :class:`pandas.Series` indexed by the available variables.
134134Geometry
135135--------
136136
137- Geometry information are read from binary files. :attr: `_Step .geom
138- <stagpy.stagyydata._Step .geom> ` has various attributes defining the geometry of
137+ Geometry information are read from binary files. :attr: `Step .geom
138+ <stagpy._step.Step .geom> ` has various attributes defining the geometry of
139139the problem.
140140
141141``cartesian ``, ``curvilinear ``, ``cylindrical ``, ``spherical `` and ``yinyang ``
@@ -152,24 +152,20 @@ are the total number of points in the various spatial directions. Note that
152152``nttot ``, ``nptot `` and ``nrtot `` are the same as ``nxtot ``, ``nytot `` and
153153``nztot `` regardless of whether the geometry is cartesian or curvilinear.
154154
155- ``x_coord ``, ``y_coord `` and ``z_coord `` as well as ``t_coord ``, `` p_coord ``
156- and ``r_coord `` are the coordinates of cell centers in the three directions.
157- As for the total number of points, they are the same regardless of the actual
158- geometry.
155+ ``x_centers ``, ``y_centers ``, and ``z_centers `` as well as ``t_centers ``,
156+ `` p_centers ``, and ``r_centers `` are the coordinates of cell centers in the
157+ three directions. As for the total number of points, they are the same
158+ regardless of the actual geometry.
159159
160- ``x_mesh ``, ``y_mesh `` and ``z_mesh `` are three dimensional meshes containing
161- the **cartesian ** coordinates of cell centers (even if the geometry is
162- curvilinear).
163-
164- ``t_mesh ``, ``p_mesh `` and ``r_mesh `` are three dimensional meshes containing
165- the **spherical ** coordinates of cell centers (these are set as ``None `` if the
166- geometry is cartesian).
160+ Similarly to ``*_centers `` attributes, ``x_walls ``, ``y_walls ``, and
161+ ``z_walls `` as well as ``t_walls ``, ``p_walls ``, and ``r_walls `` are the
162+ coordinates of cell walls in the three directions.
167163
168164Scalar and vector fields
169165------------------------
170166
171- Vector and scalar fields are accessible through :attr: `_Step .fields
172- <stagpy.stagyydata._Step .fields> ` using their name as key. For example, the
167+ Vector and scalar fields are accessible through :attr: `Step .fields
168+ <stagpy._step.Step .fields> ` using their name as key. For example, the
173169temperature field of the 100th snapshot is obtained with
174170``sdat.snaps[100].fields['T'] ``. Valid names of fields can be obtained by
175171running ``% stagpy var ``. Fields are four dimensional arrays, with indices in
@@ -179,7 +175,7 @@ Tracers data
179175------------
180176
181177Tracer data (position, mass, composition...) are accessible through
182- :attr: `_Step .tracers<stagpy.stagyydata._Step .tracers> ` using the
178+ :attr: `Step .tracers<stagpy._step.Step .tracers> ` using the
183179property name as key. They are organized by block. For example,
184180the masses of tracers in the first block is obtained with
185181``sdat.snaps[-1].tracers['Mass'][0] ``. This is a one dimensional
0 commit comments