Nucleide

Nucleide Documentation

This directory contains durable documentation for Nucleide: a Rust toolkit for nuclear-engineering workflow glue, exposed through a typed Python API. The docs are organized by audience so you can find what you need without reading everything else.

Start with the project README for the feature list, status, and license.

How to use this index

Documentation structure

Tutorials

DocumentPurpose
TutorialsTutorial index and suggested reading order
Getting startedInstall Nucleide from PyPI and run your first Python snippet
Parse MCNP outputRead xsdir, meshtal, MCTAL, WWINP, PTRAC, and SSW files
Build materialsBuild materials from formulae, mix compositions, and export XML
Run depletionLoad a depletion chain and run a short CRAM solve
Enrichment cascadeSet up and solve a multicomponent enrichment cascade
Interactive tutorialsRun Nucleide in the browser through the WASM build
Interactive — nuclidesNuclide identifiers and nuclear data
Interactive — materialsFormulas, fractions, mixing, and XML export
Interactive — enrichmentSolve MARC cascades live
Interactive — depletionOne-step CRAM depletion
Interactive — MCNP I/OParse MCNP file snippets
Interactive — variance reductionMAGIC bounds and alias-table sampling

Theory

DocumentPurpose
TheoryTheory index and suggested reading order
DepletionBurnup matrices, the Bateman equation, and CRAM
Enrichment cascadesMARC cascades, separation factors, and SWU
Variance reductionMAGIC weight windows and alias-table source sampling
Nuclear dataNuclide IDs, name dialects, masses, and half-lives

Reference

DocumentPurpose
ReferenceReference index and quick links
Crate overviewOne-line responsibilities for every workspace crate
Python APIPython facade overview and module map

Development

DocumentPurpose
Local developmentToolchain, local build, test, and lint commands
ContributingBranch workflow, commit style, and PR checklist
Cross-code validationReproduce the PyNE/OpenMC validation harness and measured tables

Architecture

DocumentPurpose
Architecture overviewHigh-level system overview and layer boundaries
Crate responsibilitiesCrate-level responsibilities and dependency rules

Plan

DocumentPurpose
RoadmapCurrent status and upcoming priorities
Decision logArchitecture and process decisions with rationale

Maintenance rules

  1. Keep docs in sync with code. A PR that changes a public API, parser output, or crate boundary must update the matching tutorial or reference page.
  2. Prefer deletion over stale historical notes. If a section no longer reflects current behavior, delete it or move it to an explicit “Historical” appendix with a removal date.
  3. Do not duplicate details that live elsewhere. Link to the project README, API stubs, and fixture READMEs instead of copying them.
  4. Use relative links. Internal links must be relative so documentation stays usable offline and in branches.
  5. Use .mdx for component-heavy pages. Pages that use @nukehub/docs-kit shortcodes such as <Mermaid>, <Callout>, or <DataTable> must have an .mdx extension. Plain .md is fine for prose-only pages.
  6. Every page sets title and sidebar.order in frontmatter. Without an explicit order the site sidebar falls back to alphabetical sorting. Keep the order values aligned with the reading order in the section index tables, and do not repeat the title as an in-body # heading (the site renders the frontmatter title as the page heading).

See the project AGENTS.md for ownership and contract details.