Skip to main content

DeepSource Codacy Badge License: MIT Unit tests Docs PYPI

Yet Another Scattering Framework

YASF is a T-Matrix implementation in Python based on the Matlab framework CELES developed by Egel et al..

Install

pip

pip install yasfpy

Sadly yasf was already taken, so the package is called yasfpy for the Python version and can be found on pypi.

conda

To run code on the GPU, the cudetoolkit is needed. This can be installed using a provided package by nvidia, or by using the conda package as described by the numba docs. The repository provides a yaml environment file. To spin an environment up (and update it later on), use:

conda env create -f yasf-env.yml # install
conda env update -f yasf-env.yml # update the environment (deactivate and activate again for changes to apply)

Examples

  • Small dashboard displaying various parameters calculated using YASF

Development

This repository is still under development!

Documentation

The code is documented using MkDocs. If you discover mistakes, feel free to create a pull request or open up an issue.

TODO

The pywigxjpf package is not following PEP 517 and PEP 518 standards, so it may happen, that it won't install properly as a dependency of YASF. Please install it manually if that happens using pip install pywigxjpf (before that, run pip install pycparser as stated in their pypi page). One could convert the setup.py file to a pyproject.toml file. Providing pycparser as a dependency could also solve the known issue of having to preinstall it.

Metadata

Release files for yasfpy 0.0.13

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

Source distribution (sdist)

Source distribution for yasfpy 0.0.13
File Size Uploaded Provenance Actions
yasfpy-0.0.13.tar.gz 47.1 kB Without provenance Details for yasfpy-0.0.13.tar.gz

Built distribution (wheel)

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

Total release size: 103.5 kB

Release files / yasfpy-0.0.13.tar.gz

Download URL yasfpy-0.0.13.tar.gz
Size 47.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c35b849b40fc0bbc4a7aaa6af0b29d851a15dc8770cb9902bab692e87e5d7034
BLAKE2b-256 checksum
How to use checksums
61c1ae71c14315240b130761360e59581b7e18df7b89b10218c802afacbfd536
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1018-azure

Release files / yasfpy-0.0.13-py3-none-any.whl

Download URL yasfpy-0.0.13-py3-none-any.whl
Size 56.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
805229e12d83a12ce29d2b5c6324e4a7e0ee062f4667e27abee55fbb851db935
BLAKE2b-256 checksum
How to use checksums
a276b542587dde89939a7aecd565f634964024b727199d6e0ece164fc79bd981
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1018-azure

Security for yasfpy 0.0.13

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