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 Distribution

kika_nd-0.1.0.tar.gz (13.5 MB 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.1.0-py3-none-any.whl (13.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kika_nd-0.1.0.tar.gz
  • Upload date:
  • Size: 13.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for kika_nd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2f8c7d0aff53413f870adc0d3c12aa67c31c3a3d5a9be37e5cef80e6ead6bff9
MD5 2c065bf0a18862cc7cacb3caed021ad1
BLAKE2b-256 edffca288a637c01ab9a0b5af85697bea560479def4fe0af48a0630c59676eeb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for kika_nd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e851ca954c282499e9ca259ed641e38ad260a6143a344cf3a546cee403b3b039
MD5 7b35d6844bcd7bd53466db362a37bb1f
BLAKE2b-256 7a589adfac02cdbcba113a9317f9b3905e257e017dc582a60960cc6384a1170c

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