The core package of the SIMEX platform providing the calculator interfaces.
Project description
Quickstart
SimEx-Lite is the core package of the SIMEX platform providing the calculator interfaces and data APIs.
Free software: GNU General Public License v3
Documentation: https://SimEx-Lite.readthedocs.io
Installing
SimEx-Lite can be installed with Python 3.6 or later:
$ pip install SimEx-Lite
To test the latest updates, install from sources as shown below.
Developing
We encourage everyone to contribute to SimEx. For a detailed guide, please visit https://simex-lite.readthedocs.io/en/latest/contributing.html
Clone this Github repository:
$ git clone --recursive git@github.com:PaNOSC-ViNYL/SimEx-Lite.git
Install the package locally:
$ cd SimEx-Lite
$ pip install -e .
Tests
Enable the testFiles submodule.
$ git submodule init
$ git submodule update
Run the test
$ git clone https://github.com/PaNOSC-ViNYL/SimEx-Lite-testFiles testFiles
$ pytest tests
Features
SimEx-Lite provides
- python interfaces for SIMEX backengines (aka “Calculators”)
SourceCalculators
PropagationCalculators
PMICalculators (PhotonMattterInteractionCalculators)
DiffractionCalculators
DetectorCalculators
- data APIs for different data formats.
PMI (Photon matter interaction) data
Wavefront data
Diffraction data
Citation
Please cite the following paper if you use SimEx-Lite for your research:
E, J. et al. SimEx-Lite: easy access to start-to-end simulation for experiments at advanced light sources. in Advances in Computational Methods for X-Ray Optics VI (eds. Chubar, O. & Tanaka, T.) 22 (SPIE, San Diego, United States, 2023). doi.org/10.1117/12.2677299
Publications using SIMEX platform
E, J. et al. SimEx-Lite: easy access to start-to-end simulation for experiments at advanced light sources. in Advances in Computational Methods for X-Ray Optics VI (eds. Chubar, O. & Tanaka, T.) 22 (SPIE, San Diego, United States, 2023). doi:10.1117/12.2677299.
E, J. et al. Water layer and radiation damage effects on the orientation recovery of proteins in single-particle imaging at an X-ray free-electron laser. Sci Rep 13, 16359 (2023).
E, J. et al. Expected resolution limits of x-ray free-electron laser single-particle imaging for realistic source and detector properties. Structural Dynamics 9, 064101 (2022).
E, J. et al. Effects of radiation damage and inelastic scattering on single-particle imaging of hydrated proteins with an X-ray Free-Electron Laser. Sci Rep 11, 17976 (2021).
E, J. et al. VINYL: The VIrtual Neutron and x-raY Laboratory and its applications. in Advances in Computational Methods for X-Ray Optics V (eds. Sawhney, K. & Chubar, O.) 33 (SPIE, Online Only, United States, 2020). doi:10.1117/12.2570378.
Fortmann-Grote, C. et al. Start-to-end simulation of single-particle imaging using ultra-short pulses at the European X-ray Free-Electron Laser. IUCrJ 4, 560–568 (2017).
Fortmann-Grote, C. et al. Simulations of ultrafast x–ray laser experiments. in Advances in X-ray Free-Electron Lasers Instrumentation IV (eds. Tschentscher, T. & Patthey, L.) 102370S (Prague, Czech Republic, 2017). doi:10.1117/12.2270552.
Fortmann-Grote, C. et al. SIMEX: Simulation of Experiments at Advanced Light Sources. arXiv:1610.05980 [physics] (2016).
Yoon, C. H. et al. A comprehensive simulation framework for imaging single particles and biomolecules at the European X-ray Free-Electron Laser. Scientific Reports 6, 24791 (2016).
Acknowledgement
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 823852.
History
1.1.0
Add EMC format
Add the function to write multiple files into one file in EMC format
Add CXI format
Add Condor format
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simex_lite-1.0.1.tar.gz.
File metadata
- Download URL: simex_lite-1.0.1.tar.gz
- Upload date:
- Size: 147.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c004bed2b09d734da209780897824180eecc73db15896047c3ea0204f8f8f6fd
|
|
| MD5 |
245c0c5a75710353d6c9b69f84ca4074
|
|
| BLAKE2b-256 |
a2ea801d3dae54b9424f4e22420a3299a81c395b634ec979375e9985a4c8e64e
|
File details
Details for the file simex_lite-1.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: simex_lite-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 154.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd361cdb463dd04673180254437c1e2d26f942ac2dc2368e7b146172ce85d6d8
|
|
| MD5 |
e78a2d2695c1adda94b6e0900428dc7f
|
|
| BLAKE2b-256 |
f98f0651a34095d289b9e4e5ae89f8c5d206eb7b7702024701d72792095a12df
|