Skip to main content

A python interface to Muon Propagator package MUM, developed by Igor Sokalski

Project description

mumpropagator

python class interface to MUM -- Muon Propagator developed by Igor Sokalski.

The reference: Phys. Rev. D64:074015 (2001)

Installation

pip3 install mumpropagator

Usage

from mumpropagator import pymum
m = pymum.mum()

Example

from a python module

from mumpropagator import pymum_example
from mumpropagator.pymum_example import *
pymum_example.transport(opts)

opts is a namespace like the following

namespace(energy=1000.0,
          depth=1.0,
          n=1000,
          type=1,
          savefig=True,
          output='figures',

one can change these parameters before calling transport method.

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

mumpropagator-1.0.3.tar.gz (225.5 kB view hashes)

Uploaded Source

Built Distribution

mumpropagator-1.0.3-cp39-cp39-macosx_12_0_x86_64.whl (481.2 kB view hashes)

Uploaded CPython 3.9 macOS 12.0+ x86-64

Supported by

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