Skip to main content

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

Version Documentation Status PyPI Python License

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.

Looking for the desktop application? KIKA is also available as a standalone GUI — no Python required. Download the latest installer from kika-release.

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_coverx("path/to/covmat_file")  # text or binary, auto-detected

Documentation

For complete documentation, examples, and API reference, visit: KIKA Documentation

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

kika_nd-0.2.0.tar.gz (891.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kika_nd-0.2.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file kika_nd-0.2.0.tar.gz.

File metadata

  • Download URL: kika_nd-0.2.0.tar.gz
  • Upload date:
  • Size: 891.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for kika_nd-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1b64dc564e2425d84dd7706007ecfbf8d691d185088c527a8b8bd973de5ba24f
MD5 894d4e13d08f98aa337ddb602259cea5
BLAKE2b-256 0fa5a783788dfc04f3c9ad85156614b657b7a725a78df70966babbe0032af8e6

See more details on using hashes here.

File details

Details for the file kika_nd-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: kika_nd-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for kika_nd-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64f3b11d0fccd59f94ef8a0cd35c6bdd0d8a71e5541c9263e319a51e06cbe01b
MD5 e59269de7a3e0e75f2d5b3032e55ca19
BLAKE2b-256 396b6f4641689078f2b4965408574a8b4050c2e4bad23c1b2570477c7370ffc2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page