You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workflow will upload a Python Package to PyPI when a release is created
2
+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3
+
4
+
# This workflow uses actions that are not certified by GitHub.
5
+
# They are provided by a third-party and are governed by
6
+
# separate terms of service, privacy policy, and support
# IMPORTANT: this permission is mandatory for trusted publishing
50
+
id-token: write
51
+
52
+
# Dedicated environments with protections for publishing are strongly recommended.
53
+
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
54
+
environment:
55
+
name: testpypi
56
+
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
57
+
# url: https://pypi.org/p/YOURPROJECT
58
+
#
59
+
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
60
+
# ALTERNATIVE: exactly, uncomment the following line instead:
Documentation is automatically built and deployed using Sphinx as part of the continuous integration of the repository. If you want to build the documentation locally, you need to install a few more packages::
Copy file name to clipboardExpand all lines: Documentation/sphinx/analysator_exercises.rst
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,15 +95,15 @@ Setting the keword ``fsaved=True`` will add contours delienating all spatial cel
95
95
Vector quantities can be overplotted as streamlines or vector maps. Give some a go!
96
96
.. code-block:: python
97
97
98
-
:kword vectors: Set to a vector variable to overplot (unit length vectors, color displays variable magnitude)
99
-
:kword vectordensity: Aim for how many vectors to show in plot window (default 100)
100
-
:kword vectorcolormap: Colormap to use for overplotted vectors (default: gray)
101
-
:kword vectorsize: Scaling of vector sizes
98
+
:kwarg vectors: Set to a vector variable to overplot (unit length vectors, color displays variable magnitude)
99
+
:kwarg vectordensity: Aim for how many vectors to show in plot window (default 100)
100
+
:kwarg vectorcolormap: Colormap to use for overplotted vectors (default: gray)
101
+
:kwarg vectorsize: Scaling of vector sizes
102
102
103
-
:kword streamlines: Set to a vector variable to overplot as streamlines
104
-
:kword streamlinedensity: Set streamline density (default 1)
105
-
:kword streamlinecolor: Set streamline color (default white)
106
-
:kword streamlinethick: Set streamline thickness
103
+
:kwarg streamlines: Set to a vector variable to overplot as streamlines
104
+
:kwarg streamlinedensity: Set streamline density (default 1)
105
+
:kwarg streamlinecolor: Set streamline color (default white)
106
+
:kwarg streamlinethick: Set streamline thickness
107
107
108
108
If a pre-generated fluxfunction fileis available (only for5D simulations), magnetic field lines can be plotted
109
109
with greater accuracy than via streamlines. Flux functions are generated with the fluxfunction tool distributed as part of Vlasiator. A plotting example:
@@ -119,21 +119,21 @@ Several keywords exist for fine-tuning Analysator plot properties. As usual, the
119
119
120
120
.. code-block:: python
121
121
122
-
:kword noborder: Plot figure edge-to-edge without borders (default off)
123
-
:kword noxlabels: Suppress x-axis labels and title
124
-
:kword noylabels: Suppress y-axis labels and title
125
-
:kword scale: Scale text size (default=1.0)
126
-
:kword thick: line and axis thickness, default=1.0
127
-
:kword nocb: Set to suppress drawing of colourbar
128
-
:kword internalcb: Set to draw colorbar inside plot instead of outside. If set to a text
122
+
:kwarg noborder: Plot figure edge-to-edge without borders (default off)
123
+
:kwarg noxlabels: Suppress x-axis labels and title
124
+
:kwarg noylabels: Suppress y-axis labels and title
125
+
:kwarg scale: Scale text size (default=1.0)
126
+
:kwarg thick: line and axis thickness, default=1.0
127
+
:kwarg nocb: Set to suppress drawing of colourbar
128
+
:kwarg internalcb: Set to draw colorbar inside plot instead of outside. If set to a text
129
129
string, tries to use that as the location, e.g. "NW","NE","SW","SW"
130
-
:kword highres: Creates the image in high resolution, scaled up by this value (suitable forprint).
131
-
:kword tickinterval: Interval at which to have ticks on axes (not colorbar)
132
-
:kword title: string to use as plot title instead of time.
130
+
:kwarg highres: Creates the image in high resolution, scaled up by this value (suitable forprint).
131
+
:kwarg tickinterval: Interval at which to have ticks on axes (not colorbar)
132
+
:kwarg title: string to use as plot title instead of time.
133
133
Special case: Set to "msec" to plot time with millisecond accuracy or"musec"
134
134
for microsecond accuracy. "sec"is integer second accuracy.
135
-
:kword cbtitle: string to use as colorbar title instead of map name
136
-
:kword nooverwrite: Set to only perform actions if the target output file does not yet exist
135
+
:kwarg cbtitle: string to use as colorbar title instead of map name
136
+
:kwarg nooverwrite: Set to only perform actions if the target output file does not yet exist
VlsvFile is responsibe for implementing read and write functionality for the vlsv format, as well as defining data reducers and reduction pipelines. Some of this will be likely moved around to be more modular in some indefinite point in the future.
4
+
VlsvFile is responsible for implementing read and write functionality for the vlsv format, as well as defining data reducers and reduction pipelines. Some of this will be likely moved around to be more modular in some indefinite point in the future.
0 commit comments