Skip to main content

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.

Metadata

Release files for mcpw 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcpw 1.0.0
File Size Uploaded Provenance
mcpw-1.0.0.tar.gz 18.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcpw 1.0.0
File Interpreter ABI Platform
mcpw-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.5 kB

Release files / mcpw-1.0.0.tar.gz

Download URL mcpw-1.0.0.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8835c7bfebd3784e46f062a00c3fd6d2fb13487646e10b1a1a242e4d4b45ae25
BLAKE2b-256 checksum
How to use checksums
3ff3ecaa7322ef6ef54d1d8328ce9d1e242c983a885da257af3234018dbed2c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / mcpw-1.0.0-py3-none-any.whl

Download URL mcpw-1.0.0-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d71da14388efdc5a5ed1886af69c9b4a5ece2ca6a592fdc26cef724dc53f6d8
BLAKE2b-256 checksum
How to use checksums
51755e1ad09df85a07be85ecaa434696a25124d0013d64391913b0c20c94e147
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for mcpw 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page