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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 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