actinv 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. actinv-1.0.0/Cargo.toml +15 -0
  2. actinv-1.0.0/LICENSE-APACHE +202 -0
  3. actinv-1.0.0/LICENSE-MIT +21 -0
  4. actinv-1.0.0/PKG-INFO +54 -0
  5. actinv-1.0.0/README.md +31 -0
  6. actinv-1.0.0/crates/actinv-cli/Cargo.toml +26 -0
  7. actinv-1.0.0/crates/actinv-cli/README.md +174 -0
  8. actinv-1.0.0/crates/actinv-cli/data/ACTINV-DATA-NOTICE-v1.0.0.md +51 -0
  9. actinv-1.0.0/crates/actinv-cli/data/actinv-data-catalog-v1.0.0.json +254 -0
  10. actinv-1.0.0/crates/actinv-cli/src/bin/actinv.rs +5 -0
  11. actinv-1.0.0/crates/actinv-cli/src/command.rs +452 -0
  12. actinv-1.0.0/crates/actinv-cli/src/lib.rs +1304 -0
  13. actinv-1.0.0/crates/actinv-cli/tests/data_command.rs +50 -0
  14. actinv-1.0.0/crates/actinv-cli/tests/version.rs +28 -0
  15. actinv-1.0.0/crates/actinv-core/Cargo.toml +29 -0
  16. actinv-1.0.0/crates/actinv-core/README.md +174 -0
  17. actinv-1.0.0/crates/actinv-core/src/bin/cram_probe.rs +73 -0
  18. actinv-1.0.0/crates/actinv-core/src/bin/fission_probe.rs +95 -0
  19. actinv-1.0.0/crates/actinv-core/src/bin/flux_probe.rs +59 -0
  20. actinv-1.0.0/crates/actinv-core/src/bin/parser_fuzz_probe.rs +664 -0
  21. actinv-1.0.0/crates/actinv-core/src/bin/photon_probe.rs +130 -0
  22. actinv-1.0.0/crates/actinv-core/src/bin/prepared_probe.rs +23 -0
  23. actinv-1.0.0/crates/actinv-core/src/bin/uncertainty_probe.rs +35 -0
  24. actinv-1.0.0/crates/actinv-core/src/bin/unit_probe.rs +31 -0
  25. actinv-1.0.0/crates/actinv-core/src/chain.rs +345 -0
  26. actinv-1.0.0/crates/actinv-core/src/cram.rs +207 -0
  27. actinv-1.0.0/crates/actinv-core/src/cram_coeffs.rs +81 -0
  28. actinv-1.0.0/crates/actinv-core/src/doppler.rs +93 -0
  29. actinv-1.0.0/crates/actinv-core/src/flux.rs +2413 -0
  30. actinv-1.0.0/crates/actinv-core/src/lib.rs +14 -0
  31. actinv-1.0.0/crates/actinv-core/src/mesh.rs +572 -0
  32. actinv-1.0.0/crates/actinv-core/src/photon.rs +869 -0
  33. actinv-1.0.0/crates/actinv-core/src/prune.rs +84 -0
  34. actinv-1.0.0/crates/actinv-core/src/radiological.rs +448 -0
  35. actinv-1.0.0/crates/actinv-core/src/run.rs +2154 -0
  36. actinv-1.0.0/crates/actinv-core/src/sparse.rs +283 -0
  37. actinv-1.0.0/crates/actinv-core/src/spec.rs +662 -0
  38. actinv-1.0.0/crates/actinv-core/src/uncertainty.rs +201 -0
  39. actinv-1.0.0/crates/actinv-data/Cargo.toml +20 -0
  40. actinv-1.0.0/crates/actinv-data/README.md +174 -0
  41. actinv-1.0.0/crates/actinv-data/data/fispact_162_groups.json +37 -0
  42. actinv-1.0.0/crates/actinv-data/data/fispact_709_groups.json +719 -0
  43. actinv-1.0.0/crates/actinv-data/data/mt_products.json +342 -0
  44. actinv-1.0.0/crates/actinv-data/src/activation.rs +605 -0
  45. actinv-1.0.0/crates/actinv-data/src/bin/dump.rs +1476 -0
  46. actinv-1.0.0/crates/actinv-data/src/builder.rs +1805 -0
  47. actinv-1.0.0/crates/actinv-data/src/composition.rs +448 -0
  48. actinv-1.0.0/crates/actinv-data/src/covariance.rs +1771 -0
  49. actinv-1.0.0/crates/actinv-data/src/decay.rs +315 -0
  50. actinv-1.0.0/crates/actinv-data/src/doppler.rs +289 -0
  51. actinv-1.0.0/crates/actinv-data/src/endf.rs +564 -0
  52. actinv-1.0.0/crates/actinv-data/src/fission.rs +465 -0
  53. actinv-1.0.0/crates/actinv-data/src/groups.rs +883 -0
  54. actinv-1.0.0/crates/actinv-data/src/lib.rs +15 -0
  55. actinv-1.0.0/crates/actinv-data/src/library.rs +712 -0
  56. actinv-1.0.0/crates/actinv-data/src/processing.rs +1593 -0
  57. actinv-1.0.0/crates/actinv-data/src/resonance.rs +2281 -0
  58. actinv-1.0.0/crates/actinv-data/src/tables.rs +298 -0
  59. actinv-1.0.0/pyproject.toml +36 -0
  60. actinv-1.0.0/python/Cargo.lock +855 -0
  61. actinv-1.0.0/python/Cargo.toml +19 -0
  62. actinv-1.0.0/python/LICENSE-APACHE +202 -0
  63. actinv-1.0.0/python/LICENSE-MIT +21 -0
  64. actinv-1.0.0/python/README.md +31 -0
  65. actinv-1.0.0/python/src/lib.rs +97 -0
@@ -0,0 +1,15 @@
1
+ [workspace]
2
+ resolver = "2"
3
+ members = ["crates/actinv-core", "crates/actinv-data", "crates/actinv-cli"]
4
+ exclude = ["python", "target"]
5
+
6
+ [workspace.package]
7
+ version = "1.0.0"
8
+ edition = "2021"
9
+ authors = ["Connor Avila <Connoravila@gmail.com>"]
10
+ description = "ACTINV — open, standalone, activation-grade nuclide-inventory solver"
11
+ license = "MIT OR Apache-2.0"
12
+ readme = "README.md"
13
+ keywords = ["nuclear", "activation", "inventory", "decay-heat", "neutronics"]
14
+ categories = ["science", "simulation"]
15
+ repository = "https://github.com/AvilaLabs/ACTINV"
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Connor Avila / Avila Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
actinv-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.4
2
+ Name: actinv
3
+ Version: 1.0.0
4
+ Classifier: Development Status :: 5 - Production/Stable
5
+ Classifier: Intended Audience :: Science/Research
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Programming Language :: Python :: 3 :: Only
8
+ Classifier: Programming Language :: Rust
9
+ Classifier: Topic :: Scientific/Engineering :: Physics
10
+ License-File: LICENSE-MIT
11
+ License-File: LICENSE-APACHE
12
+ Summary: Open, standalone nuclide-inventory and activation solver
13
+ Keywords: activation,nuclear,inventory,decay-heat,neutronics
14
+ Author-email: Connor Avila <Connoravila@gmail.com>
15
+ License-Expression: MIT OR Apache-2.0
16
+ Requires-Python: >=3.9
17
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
18
+ Project-URL: Documentation, https://github.com/AvilaLabs/ACTINV#readme
19
+ Project-URL: Homepage, https://github.com/AvilaLabs/ACTINV
20
+ Project-URL: Issues, https://github.com/AvilaLabs/ACTINV/issues
21
+ Project-URL: Repository, https://github.com/AvilaLabs/ACTINV
22
+
23
+ # ACTINV for Python
24
+
25
+ ACTINV calculates how a material's nuclide inventory changes during irradiation and cooling. It reports inventories,
26
+ activities, decay heat, photon sources, selected radiological indices, uncertainty information, and an explicit ledger
27
+ of incomplete input data.
28
+
29
+ After the v1.0 package is published, installation is one command:
30
+
31
+ ```bash
32
+ pip install actinv
33
+ ```
34
+
35
+ That installation provides both `import actinv` and the `actinv` terminal command. No Rust compiler is needed when a
36
+ wheel is available for the platform.
37
+
38
+ ```python
39
+ import actinv
40
+ import json
41
+
42
+ with open("problem.json", encoding="utf-8") as source:
43
+ result = json.loads(actinv.run(source.read()))
44
+
45
+ print(result["steps"][-1]["heat_W_per_g"]["total"])
46
+ ```
47
+
48
+ Nuclear-data libraries are distributed separately from the Python wheel. Install and verify the recommended versioned
49
+ bundle with `actinv data fetch` and `actinv data verify`; each calculation records hashes for
50
+ the selected files. See the [project README](https://github.com/AvilaLabs/ACTINV#readme) for the quick start, download
51
+ instructions, examples, validation evidence, and qualification boundary.
52
+
53
+ ACTINV is research-grade software. It is not approved for licensing, safety, or regulatory decisions.
54
+
actinv-1.0.0/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # ACTINV for Python
2
+
3
+ ACTINV calculates how a material's nuclide inventory changes during irradiation and cooling. It reports inventories,
4
+ activities, decay heat, photon sources, selected radiological indices, uncertainty information, and an explicit ledger
5
+ of incomplete input data.
6
+
7
+ After the v1.0 package is published, installation is one command:
8
+
9
+ ```bash
10
+ pip install actinv
11
+ ```
12
+
13
+ That installation provides both `import actinv` and the `actinv` terminal command. No Rust compiler is needed when a
14
+ wheel is available for the platform.
15
+
16
+ ```python
17
+ import actinv
18
+ import json
19
+
20
+ with open("problem.json", encoding="utf-8") as source:
21
+ result = json.loads(actinv.run(source.read()))
22
+
23
+ print(result["steps"][-1]["heat_W_per_g"]["total"])
24
+ ```
25
+
26
+ Nuclear-data libraries are distributed separately from the Python wheel. Install and verify the recommended versioned
27
+ bundle with `actinv data fetch` and `actinv data verify`; each calculation records hashes for
28
+ the selected files. See the [project README](https://github.com/AvilaLabs/ACTINV#readme) for the quick start, download
29
+ instructions, examples, validation evidence, and qualification boundary.
30
+
31
+ ACTINV is research-grade software. It is not approved for licensing, safety, or regulatory decisions.
@@ -0,0 +1,26 @@
1
+ [package]
2
+ name = "actinv-cli"
3
+ version.workspace = true
4
+ edition.workspace = true
5
+ authors.workspace = true
6
+ license.workspace = true
7
+ repository.workspace = true
8
+ readme = "README.md"
9
+ keywords.workspace = true
10
+ categories.workspace = true
11
+ description = "ACTINV command-line activation and nuclide-inventory solver"
12
+
13
+ [dependencies]
14
+ actinv-core = { version = "=1.0.0", path = "../actinv-core" }
15
+ actinv-data = { version = "=1.0.0", path = "../actinv-data" }
16
+ flate2 = { version = "1.1", default-features = false, features = ["rust_backend"] }
17
+ num-complex = "0.4"
18
+ serde = { version = "1", features = ["derive"] }
19
+ serde_json = "1"
20
+ sha2 = "0.10"
21
+ ureq = "=3.4.0"
22
+ zip = { version = "=8.6.0", default-features = false, features = ["deflate-flate2"] }
23
+
24
+ [[bin]]
25
+ name = "actinv"
26
+ path = "src/bin/actinv.rs"
@@ -0,0 +1,174 @@
1
+ # ACTINV
2
+
3
+ ACTINV calculates what radioactive nuclides are created when a material is irradiated and how they change while the
4
+ material cools. Give it a material, a particle-flux spectrum, an irradiation schedule, and evaluated nuclear data; it
5
+ returns nuclide inventories, activity, decay heat, photon sources, selected radiological indices, and a record of any
6
+ input data it could not account for.
7
+
8
+ It is useful for activation studies, shutdown inventories, source-term preparation, and reproducible comparisons with
9
+ other inventory codes. The numerical core is written in Rust, with both a Python interface and a standalone command.
10
+
11
+ > ACTINV is research-grade software. Version 1.0 is a technically validated release, not an approval for licensing,
12
+ > safety, waste classification, or regulatory decisions. See [Qualification boundary](docs/QUALIFICATION.md) before
13
+ > using results in a formal analysis chain.
14
+
15
+ ## Install
16
+
17
+ After the v1.0 package is published to PyPI, both the Python interface and the `actinv` command install in one line on
18
+ Python 3.9 or newer:
19
+
20
+ ```bash
21
+ pip install actinv
22
+ ```
23
+
24
+ The published wheels use Python's stable ABI, so users do not need a Rust compiler. Until the maintainer performs the
25
+ public-package upload, install the wheel produced by the release workflow:
26
+
27
+ ```bash
28
+ python -m pip install actinv-1.0.0-*.whl
29
+ ```
30
+
31
+ The same command is also available as a standalone GitHub release executable or from a source checkout:
32
+
33
+ ```bash
34
+ cargo install --locked --path crates/actinv-cli
35
+ ```
36
+
37
+ The software package stays small by keeping nuclear data in a separate, versioned release. Download the recommended
38
+ neutron data in one command:
39
+
40
+ ```bash
41
+ actinv data fetch
42
+ ```
43
+
44
+ The command downloads about 139 MiB, verifies every file with SHA-256 before installing it under
45
+ `actinv-data/v1.0.0/`, and prints the exact paths to paste into a problem. Nothing is silently updated: a later data
46
+ release goes in a new version directory. See [Data setup](docs/DATA.md) for the other particle and covariance bundles.
47
+
48
+ ## First calculation
49
+
50
+ An ACTINV problem is a JSON file containing the data paths printed by `actinv data fetch`, a material composition, a
51
+ group flux spectrum, and an irradiation/cooling schedule. Validate it first, then run it:
52
+
53
+ ```bash
54
+ actinv validate problem.json
55
+ actinv run problem.json result.json
56
+ ```
57
+
58
+ The same calculation from Python is:
59
+
60
+ ```python
61
+ from pathlib import Path
62
+ import json
63
+ import actinv
64
+
65
+ problem = Path("problem.json").read_text(encoding="utf-8")
66
+ print(actinv.validate(problem))
67
+
68
+ result = json.loads(actinv.run(problem))
69
+ last_step = result["steps"][-1]
70
+ print("decay heat (W/g):", last_step["heat_W_per_g"]["total"])
71
+ print("activity (Bq/g):", sum(last_step["activity_Bq_per_g"].values()))
72
+ print("unaccounted inputs:", result["ledger"])
73
+ ```
74
+
75
+ Start with [the specification guide](docs/SPEC.md), which explains every field and includes complete examples. Unknown
76
+ fields are rejected, so misspelled options do not silently change a calculation. At any time, verify the installed
77
+ data without downloading it again:
78
+
79
+ ```bash
80
+ actinv data verify
81
+ ```
82
+
83
+ ## Preparing an activation library
84
+
85
+ The standalone command builds deterministic libraries from supported ENDF-6 evaluations. For example:
86
+
87
+ ```bash
88
+ actinv build-library /data/TENDL-2025/n /data/tendl2025-n.npz \
89
+ --format tendl --projectile neutron --groups fispact-709 \
90
+ --temperature-K 293.6 --workers 4 --cache /data/actinv-cache
91
+ ```
92
+
93
+ For MF=33 cross-section uncertainty information:
94
+
95
+ ```bash
96
+ actinv build-covariance /data/TENDL-2025/n /data/tendl2025-n.npz \
97
+ /data/tendl2025-n.cov.npz --workers 4 --cache /data/actinv-cov-cache
98
+ ```
99
+
100
+ Every input file is SHA-256 hashed in the result certificate. Generated bulk libraries and raw nuclear-data inputs are
101
+ not stored in this repository.
102
+
103
+ ## Transport-code workflows
104
+
105
+ ACTINV accepts a spectrum from any source. It also has strict importers for documented subsets of OpenMC statepoints,
106
+ MCNP MESHTAL/MCTAL files, and FISPACT flux files. Normalization must always be stated explicitly:
107
+
108
+ ```bash
109
+ actinv import-flux openmc statepoint.h5 flux.ndjson \
110
+ --tally 7 --source-rate 1.0e15 --energy-floor-eV 1.0e-5
111
+ actinv mesh mesh.json mesh-result.ndjson
112
+ ```
113
+
114
+ Selected decay-photon steps can be exported as OpenMC or MCNP source fragments:
115
+
116
+ ```bash
117
+ actinv export-openmc result.json 2 source.py
118
+ actinv export-mcnp result.json 2 source.sdef
119
+ ```
120
+
121
+ Mesh cells are solved independently. ACTINV does not perform particle transport, spatial coupling, criticality, or
122
+ thermal-hydraulic feedback.
123
+
124
+ ## What the result tells you
125
+
126
+ Depending on the requested outputs, each time step can contain:
127
+
128
+ - nuclide atoms and activity;
129
+ - total and alpha/beta/gamma decay heat;
130
+ - evaluated decay-photon lines or multigroup sources;
131
+ - ranked production pathways;
132
+ - user-selected clearance, waste, ingestion, or inhalation responses;
133
+ - an MF=33 cross-section uncertainty band and numerical-method comparison; and
134
+ - a ledger for missing decay/yield/response data, pruned populations, balance terms, and method resolution.
135
+
136
+ Radiological coefficients are user-supplied, hash-pinned tables. ACTINV does not choose a jurisdiction, regulation,
137
+ chemical form, aerosol class, or safety margin for you.
138
+
139
+ ## Validation in brief
140
+
141
+ The repository carries executable controls and compact evidence for every release phase. Highlights include:
142
+
143
+ - 132 IAEA FNS decay-heat experiments across 73 materials;
144
+ - independent decay-photon, transport-import, fission-yield, pulse-history, and mesh checks;
145
+ - complete deterministic TENDL-2025 neutron/proton/deuteron/alpha and EAF-2010 library builds;
146
+ - independent CRAM, sensitivity, MF=33 covariance, and uncertainty-propagation checks;
147
+ - a fixed one-million-case reliability check across all supported public input readers; and
148
+ - an independently reproduced FNG/ITER cell-620 activation history at all 170 time points.
149
+
150
+ Validation establishes behavior for the recorded models, inputs, and acceptance bounds. It does not establish that a
151
+ particular user's material, spectrum, nuclear-data choice, radiological table, or regulatory scenario is suitable.
152
+ See [Validation](docs/VALIDATION.md), [v1.0 release notes](docs/RELEASE_NOTES_v1.0.md), and the
153
+ [qualification boundary](docs/QUALIFICATION.md) for the evidence and complete limitations.
154
+
155
+ ## Design principles
156
+
157
+ - **Inputs stay attributable.** Nuclear data are distributed separately under their own terms, verified before use,
158
+ and recorded by hash in every calculation.
159
+ - **Incomplete information stays visible.** Missing data and approximations appear in the ledger.
160
+ - **Interfaces share one solver.** CLI, Python, prepared, and mesh paths are checked for scientific identity.
161
+ - **Evidence is reproducible.** Protocols are frozen before results; repair records are append-only.
162
+
163
+ ## Documentation
164
+
165
+ [Specification](docs/SPEC.md) · [Data sources](docs/DATA.md) · [Method](docs/METHOD.md) ·
166
+ [Validation](docs/VALIDATION.md) · [Qualification boundary](docs/QUALIFICATION.md) ·
167
+ [Ledger](docs/LEDGER.md) · [Harness](docs/HARNESS.md) · [Roadmap](docs/ROADMAP.md) ·
168
+ [v1.0 release notes](docs/RELEASE_NOTES_v1.0.md)
169
+
170
+ ## Contributing and licence
171
+
172
+ ACTINV is dual-licensed under MIT or Apache-2.0. Contributions use the Developer Certificate of Origin. Physics or
173
+ data-handling changes need a regression control and an append-only evidence record; see
174
+ [CONTRIBUTING.md](CONTRIBUTING.md).
@@ -0,0 +1,51 @@
1
+ # ACTINV data bundle v1.0.0 — attribution and provenance
2
+
3
+ This notice covers the nuclear-data files installed by `actinv data fetch`. It does not change ACTINV's qualification
4
+ boundary: users remain responsible for choosing data and models appropriate to their application.
5
+
6
+ ## TENDL-2025 activation and covariance data
7
+
8
+ The activation libraries and neutron covariance sidecar are transformations of TENDL-2025 evaluated nuclear data.
9
+ Every TENDL-2025 evaluation used to produce these artifacts declares `CC-BY-4.0` in its ENDF-6 identification record.
10
+
11
+ - Creators named by TENDL-2025: A.J. Koning, D. Rochman, V. Raffuzzi, and J.-C. Sublet.
12
+ - Source: <https://tendl.web.psi.ch/tendl_2025/tendl2025.html>
13
+ - Licence: Creative Commons Attribution 4.0 International,
14
+ <https://creativecommons.org/licenses/by/4.0/>
15
+ - Recommended reference: A.J. Koning, D. Rochman, J.-C. Sublet, N. Dzysiuk, M. Fleming, and S. van der Marck,
16
+ “TENDL: Complete Nuclear Data Library for Innovative Nuclear Science and Technology,” Nuclear Data Sheets 155
17
+ (2019) 1–55, <https://doi.org/10.1016/j.nds.2019.01.002>.
18
+
19
+ ACTINV changed the source form by parsing ENDF-6 reaction/product records, reconstructing supported resolved and
20
+ unresolved resonances, applying the recorded temperature treatment, and collapsing cross sections or MF=33 covariance
21
+ onto the named FISPACT group structure. The activation artifacts use the P10 builder fingerprint
22
+ `7a50ba3441b30b829ae857ed192b2e52554d6c149460475f7735599f29548a43`; the covariance sidecar uses P11 fingerprint
23
+ `c9825cafd8945f32efda4a00ea081af811b887562ebf07ae33ac05ea1d6846d1`.
24
+
25
+ The TENDL-2025 neutron working corpus differs from the official archive at two nonfinite Pb-208 fields at 1 MeV. In
26
+ MF=3/MT=1 and MF=3/MT=3, the literal `NaN` field was replaced with the immediately preceding finite left-branch value
27
+ `4.925328-7`. This fail-closed repair and both line identities are recorded in ACTINV's P10 protocol and evidence.
28
+
29
+ Exact official archive, source-manifest, builder, output, and index identities are recorded in the bundled catalog and
30
+ in ACTINV's `docs/DATA.md`, `docs/P10_G7_EXECUTION.md`, and `docs/P11_G6_EXECUTION.md`.
31
+
32
+ ## Decay data downloaded from official hosts
33
+
34
+ ACTINV does not rehost the decay evaluations. The fetch command downloads the following official archives and verifies
35
+ both the archive and its single extracted payload before installation:
36
+
37
+ - ENDF/B-VIII.0 radioactive-decay sublibrary from the IAEA Nuclear Data Services mirror. Reference: D.A. Brown et al.,
38
+ “ENDF/B-VIII.0: The 8th Major Release of the Nuclear Reaction Data Library with CIELO-project Cross Sections, New
39
+ Standards and Thermal Scattering Data,” Nuclear Data Sheets 148 (2018) 1–142,
40
+ <https://doi.org/10.1016/j.nds.2018.02.001>.
41
+ - JEFF-3.3 radioactive-decay sublibrary from the IAEA Nuclear Data Services mirror. Reference: A.J.M. Plompen et al.,
42
+ “The joint evaluated fission and fusion nuclear data library, JEFF-3.3,” European Physical Journal A 56 (2020) 181,
43
+ <https://doi.org/10.1140/epja/s10050-020-00141-9>.
44
+
45
+ The official projects' notices and terms continue to apply to those files.
46
+
47
+ ## Software and data licences are separate
48
+
49
+ ACTINV source code is offered under MIT OR Apache-2.0. Those software licences do not replace or relicense TENDL,
50
+ ENDF/B, JEFF, or any other third-party nuclear data. Redistribution of the processed TENDL-2025 release assets is under
51
+ TENDL's CC-BY-4.0 declaration and the attribution above. No warranty is provided for either the software or data.