A comprehensive Python toolkit for nuclear data analysis, including MCNP input/output processing, sensitivity analysis, covariance handling, ACE file parsing, and ENDF data manipulation.
Project description
KIKA
A comprehensive Python toolkit for nuclear data analysis, Monte Carlo simulation support, and uncertainty quantification. KIKA provides tools for working with MCNP, ENDF, ACE files, covariance matrices, and sensitivity analysis.
Features
MCNP Processing
- Parse and manipulate MCNP input files (materials, PERT cards)
- Read and analyze MCTAL output files
- Tally data extraction and visualization
Sensitivity Analysis
- Compute sensitivity data using PERT cards
- Generate and visualize sensitivity profiles
- Create Sensitivity Data Files (SDF) compatible with SCALE
Nuclear Data
- ACE: Parse ACE format nuclear data files
- ENDF: Read Evaluated Nuclear Data Files
- Covariance: Handle covariance matrices from SCALE and NJOY
Additional Tools
- Energy group structure definitions
- Serpent Monte Carlo code support
- Uncertainty quantification utilities
Installation
pip install kika-nd
For development features:
# Install with development dependencies
pip install kika-nd[dev]
# Install with documentation dependencies
pip install kika-nd[docs]
Quick Start
import kika
# Read an MCNP input file
input_data = kika.read_mcnp("path/to/input_file")
# Read a MCTAL file
mctal = kika.read_mctal("path/to/mctal_file")
# Access materials
materials = input_data.materials
# Compute sensitivity data
sens_data = kika.compute_sensitivity(
inputfile="path/to/input_file",
mctalfile="path/to/mctal_file",
tally=4,
nuclide=26056,
label='Sensitivity Fe-56'
)
# Read ACE data
ace_data = kika.read_ace("path/to/ace_file")
# Read covariance matrices
cov = kika.read_scale_covmat("path/to/covmat_file")
Documentation
For complete documentation, examples, and API reference, visit: KIKA Documentation
GUI Application
A standalone GUI application for KIKA is available at kika-app.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kika_nd-0.1.2.tar.gz.
File metadata
- Download URL: kika_nd-0.1.2.tar.gz
- Upload date:
- Size: 26.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a33cf1ebc5303f20f157e9b9642dea5c1ab557b0c9ddf219818ccc777eb6322e
|
|
| MD5 |
c2726e42fee258d3c31f1709cae27424
|
|
| BLAKE2b-256 |
c9a3bfa35908f0e26f4a50487969d6a9d46fce676457adecf0ceeba7042ee304
|
File details
Details for the file kika_nd-0.1.2-py3-none-any.whl.
File metadata
- Download URL: kika_nd-0.1.2-py3-none-any.whl
- Upload date:
- Size: 26.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f378ef97ebe292da543e26be5ab4e19d877f151fefd465873180823b1a52a95d
|
|
| MD5 |
064bcced6857d9bee5004732ec626931
|
|
| BLAKE2b-256 |
3c3b6bfaea9ae838692a9733bec35d9f4103cc4a9ce2264e8014d3cdd41bed44
|