1
1
==============================================================================
2
- *xpypact *: FISPACT output to Polars or DuckDB converter
2
+ *xpypact *: FISPACT output to Polars or DuckDB datasets converter
3
3
==============================================================================
4
4
5
+ Aggregate results of `FISPACT <https://fispact.ukaea.uk/ >`_ runs to efficient datasets.
5
6
6
7
7
8
|Maintained | |License | |Versions | |PyPI | |Docs |
16
17
Description
17
18
-----------
18
19
19
- The module loads FISPACT JSON output files and converts to Polars dataframes
20
- with minor data normalization.
21
- This allows efficient data extraction and aggregation.
22
- Multiple JSON files can be combined using simple additional identification for different
23
- FISPACT runs. So far we use just two-dimensional identification by material
24
- and case. The case usually identifies certain neutron flux.
20
+ The module loads FISPACT JSON output files and converts to `Polars <https://pola.rs/ >`_ dataframes
21
+ with minor data normalization. The dataframes can be stored either to `parquet <https://parquet.apache.org >`_
22
+ files or `DuckDb <https://duckdb.org/ >`_ database.
23
+ This allows efficient data aggregation and analysis.
24
+ **Multiple ** JSON files for different
25
+ FISPACT runs can be combined using simple additional identification.
26
+ So far, we use just two-dimensional identification by material
27
+ and *case *. The *case * usually identifies certain neutron flux energy distribution.
25
28
26
29
27
30
Implemented functionality
28
31
-------------------------
29
32
30
33
- export to DuckDB
31
34
- export to parquet files
32
-
33
- .. note ::
34
-
35
- Currently available FISPACT v.5 API uses rather old python version (3.6).
36
- That prevents direct use of their API in our package (>=3.10).
37
- Check if own python integration with FISPACT is reasonable and feasible.
38
- Or provide own FISPACT python binding.
35
+ - neutron flux presentation conversion
39
36
40
37
41
38
Installation
@@ -165,16 +162,13 @@ Contributing
165
162
.. image :: https://codecov.io/gh/MC-kit/xpypact/branch/master/graph/badge.svg?token=P6DPGSWM94
166
163
:target: https://codecov.io/gh/MC-kit/xpypact
167
164
:alt: Coverage
168
- .. image :: https://img.shields.io/badge/code%20style-black-000000.svg
169
- :target: https://github.com/psf/black
170
- .. image :: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
171
- :target: https://pycqa.github.io/isort/
172
165
.. image :: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
173
166
:target: https://github.com/pre-commit/pre-commit
174
167
:alt: pre-commit
175
- .. image :: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json
176
- :target: https://github.com/charliermarsh/ruff
177
- :alt: linter
168
+ .. image :: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
169
+ :target: https://github.com/astral-sh/ruff
170
+ :alt: linter & style
171
+
178
172
179
173
Just follow ordinary practice:
180
174
@@ -185,13 +179,15 @@ Just follow ordinary practice:
185
179
References
186
180
----------
187
181
188
- .. note ::
189
-
190
- add references to FISPACT, pypact and used tools: poetry etc
182
+ - `FISPACT <https://fispact.ukaea.uk/ >`_
183
+ - `FISPACT-II tools (including pypact) repositories <https://github.com/fispact >`_
184
+ - `FISPACT at NEA/OECD <https://oecd-nea.org/tools/abstract/detail/NEA-1890 >`_
185
+ - `FISPACT introduction <https://indico.ictp.it/event/7994/session/5/contribution/24/material/slides/0.pdf >`_
191
186
192
187
193
188
.. Substitutions
194
189
190
+
195
191
.. |Maintained | image :: https://img.shields.io/badge/Maintained%3F-yes-green.svg
196
192
:target: https://github.com/MC-kit/xpypact/graphs/commit-activity
197
193
.. |Tests | image :: https://github.com/MC-kit/xpypact/workflows/Tests/badge.svg
0 commit comments