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
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
Release history Release notifications | RSS feed
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 details)
Built Distribution
mcpw-1.0.0-py3-none-any.whl
(19.8 kB
view details)
File details
Details for the file mcpw-1.0.0.tar.gz
.
File metadata
- Download URL: mcpw-1.0.0.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8835c7bfebd3784e46f062a00c3fd6d2fb13487646e10b1a1a242e4d4b45ae25 |
|
MD5 | 2315efc0cfebcc1412161c722307d1df |
|
BLAKE2b-256 | 3ff3ecaa7322ef6ef54d1d8328ce9d1e242c983a885da257af3234018dbed2c5 |
File details
Details for the file mcpw-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: mcpw-1.0.0-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d71da14388efdc5a5ed1886af69c9b4a5ece2ca6a592fdc26cef724dc53f6d8 |
|
MD5 | be4d8a207140fe3e71b5830abd421b8a |
|
BLAKE2b-256 | 51755e1ad09df85a07be85ecaa434696a25124d0013d64391913b0c20c94e147 |