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.

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

kika_nd-0.1.1-py3-none-any.whl (27.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kika_nd-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.3 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef09618e11e5638255efc3b5d66a651ae565c346eb166f90494c81b2f2e3f336
MD5 99fada82f35182941167c8f371eefb85
BLAKE2b-256 655fcade9b1bf7b779397f5ebc2629be3b41d749dc56f42b53ff70ccf0afd13f

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