Skip to main content

The core package of the SIMEX platform providing the calculator interfaces.

Project description

Quickstart

https://img.shields.io/pypi/v/SimEx-Lite.svg https://travis-ci.com/PaNOSC-ViNYL/SimEx-Lite.svg?branch=main Documentation Status

SimEx-Lite is the core package of the SIMEX platform providing the calculator interfaces and data APIs.

Installing

SimEx-Lite can be installed with Python 3.6 or later:

$ pip install SimEx-Lite

Developing

We encourage everyone to contribute to SimEx. For a detailed guide, please visit https://simex-lite.readthedocs.io/en/latest/contributing.html

  1. Clone this Github repository:

$ git clone --recursive git@github.com:PaNOSC-ViNYL/SimEx-Lite.git
  1. Install the package locally:

$ cd SimEx-Lite
$ pip install -e .

Tests

  1. Enable the testFiles submodule.

$ git submodule init
$ git submodule update
  1. Run the test

$ pytest .

Features

  • Provide the python interface of calculators for the SIMEX platform.
    • SourceCalculators

    • PropagationCalculators

    • PMICalculators (PhotonMattterInteractionCalculators)

    • DiffractionCalculators

    • DetectorClaculators

  • Provide data APIs for different data formats.
    • PMI (Photon matter interaction) Data

    • Wavefront data

    • Diffraction data

Acknowledgement

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 823852.

History

1.0.0 (2022-09-27)

  • Refactor based on libpyvinyl.

  • Support instrument class.

  • Updated documents for backengines installation.

0.3.4 - 0.3.7 (2022-09-19)

  • Support for the legacy DiffractionData class.

0.3.3 (2022-08-05)

  • Fixed reading singfel rewrited data.

  • Add chunk functions to GaussianNoiseCalculator.

0.3.2 (2021-10-20)

  • Included utils as a subpackage.

0.3.1 (2021-09-29)

  • Updated the interface of data APIs. Details at this PR link.

  • Updated the deployment guide for PyPI in CONTRIBUTING.

0.2.1 (2021-04-19)

  • Deploy PyPI with Travis

0.2.0 (2021-04-17)

  • Data API:
    • Added: PhotonBeamData.py

    • Added: SampleData.py

    • Added: DiffractionData.py

    • Added Singfel Diffraction data API

    • Added EMC photon data API

  • Calculator:
    • Detector calculators:
      • Added Gaussian noise calculator

  • Examples:
    • Added singfel2EMC data analysis example

0.1.0 (2021-02-24)

  • First release on PyPI.

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

SimEx-Lite-1.0.0.tar.gz (112.7 kB view details)

Uploaded Source

Built Distribution

SimEx_Lite-1.0.0-py2.py3-none-any.whl (116.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file SimEx-Lite-1.0.0.tar.gz.

File metadata

  • Download URL: SimEx-Lite-1.0.0.tar.gz
  • Upload date:
  • Size: 112.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

File hashes

Hashes for SimEx-Lite-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e421e7f13e415184f40d362e996d5f0420bf488b9b2bfbe94d4060602b6976e7
MD5 44845cb5242f3dbbd132e18bf553aa08
BLAKE2b-256 a517ebddcdd07cf30a77bc5cdc7ac1249352d9ffa2c387500bbf7c70c870b02d

See more details on using hashes here.

File details

Details for the file SimEx_Lite-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: SimEx_Lite-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 116.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

File hashes

Hashes for SimEx_Lite-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 37b9e4da267df1b1f0d4745de415849fb2b0bdf191f8b33cdecb593e2fdf658a
MD5 44e72e6bc7452e6f35c3fb4c020e28f4
BLAKE2b-256 44bcddc0c369e028c504b738fdee04195912e51310fc9e5b78d3d6d7a063ed79

See more details on using hashes here.

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