Skip to main content

A lightweight and versitile McStas Python Wrapper for console and jupyter notebook

Project description

McStas Python Wrapper (mcpw)

Content

Why jet an other python wrapper

Installation

Key Functionalites

Jupyter Notebook

Command Usage

Function overview

Change log

Quick start

Requirements

  • mcstas
  • gcc
  • numpy
  • matplotlib

Instalatlion

  • Install with pip install mcpw

First setup

  • Enter the directory with your mcstas instrument
  • run mcpw_setup -I 'your_instrument.instr' -m 'path_to_mcstas_executable'

Final step

  • run mcpw_manager -p 'your_instrument.py' full

For more detailed instructions see the Install section and the rest of the Wiki at github.

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

mcpw-1.0.0.tar.gz (18.6 kB view hashes)

Uploaded Source

Built Distribution

mcpw-1.0.0-py3-none-any.whl (19.8 kB view hashes)

Uploaded Python 3

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