Backscattering Simulation Data
Python interface for managing and interfacing with backscattering simulation data of the Virgo interferometer
This library specifically manage simulation data generated with backscattering_simulation and backscattering_analyzer.
Getting started
Requirements
- Python >= 3.11
- mise (optional, standard workflow)
Installation
[!TIP] This library is a core component of the backscattering_simulation and backscattering_analyzer projects. Installing it alone is not intended.
it is designed to be used as a dependency.
python -m pip install .
Development tools & Workflow
If mise is installed, and mise.toml is trusted, all tools will be installed.
This project uses the following tools for development. While not all are required for basic usage, they are used by the maintainer to ensure consistency and avoid bugs.
- just: command runner (optional)
- hatch: project manager (optional)
- hatchling: package builder (optional)
- uv: package manager (optional)
- ruff: python linter and formatter (optional)
- ty: python type checker (optional)
[!NOTE] Tools used in the project consume and produce interoperable format to avoid vendor lock-in. This is the toolchain of the current maintainer
just can be used as a command runner to speed up
development. For example, to setup a dev environment and add git hooks,
run just dev.
All commands available can be listed with just -l.
Usage
[!CAUTION] This library is a core component of backscattering_simulation. It is not intended to used alone.
# Load data already generated by backscattering_simulation
from pathlib import Path
from h5py import File
from backscattering_simulation_data import Root
# path to the saved data file
filename = Path("path/to/data.hdf5")
with File(filename, "r") as file:
root = Root.from_hdf5(file)
# get the power on the injection
print(root.metadata.interferometer.injection_power)
Documentation
See the API Reference.
License
This project is licensed under the GNU GPL v3+. See license file for more information.
Acknowledgment
Thanks to all the people that worked on GWpy, Finesse and on all software and libraries used in this project.
Metadata
Release files for backscattering_simulation_data 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| backscattering_simulation_data-1.0.1.tar.gz | 180.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| backscattering_simulation_data-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 222.5 kB
Release files / backscattering_simulation_data-1.0.1.tar.gz
| Download URL | backscattering_simulation_data-1.0.1.tar.gz |
|---|---|
| Size | 180.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1c260ba9c98de23bbb085a55e95f23f11e0cf31624fb809b50375cbeaa42cd4
|
|
BLAKE2b-256 checksum How to use checksums |
f98dc4147f3e342ec292168553d1e5693d0f90a4f23cef8f3ca021009631a023
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.5 cpython/3.13.2 HTTPX/0.28.1
|
Release files / backscattering_simulation_data-1.0.1-py3-none-any.whl
| Download URL | backscattering_simulation_data-1.0.1-py3-none-any.whl |
|---|---|
| Size | 42.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce584060790bb73bc5874614b7645e7ecd04051f41ba10b39eca895ab9a02125
|
|
BLAKE2b-256 checksum How to use checksums |
cf16edde1fd8ffc54bc88f75fea5f4e1526b71acc0fbdf495aeeff15d0a30a4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.5 cpython/3.13.2 HTTPX/0.28.1
|