Simulation data management for the measurement of backscattered light in the Virgo interferometer
Project description
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.
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 backscattering_simulation_data-1.0.1.tar.gz.
File metadata
- Download URL: backscattering_simulation_data-1.0.1.tar.gz
- Upload date:
- Size: 180.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.5 cpython/3.13.2 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1c260ba9c98de23bbb085a55e95f23f11e0cf31624fb809b50375cbeaa42cd4
|
|
| MD5 |
594ba404d48542fa9adc3cc1d78a67be
|
|
| BLAKE2b-256 |
f98dc4147f3e342ec292168553d1e5693d0f90a4f23cef8f3ca021009631a023
|
File details
Details for the file backscattering_simulation_data-1.0.1-py3-none-any.whl.
File metadata
- Download URL: backscattering_simulation_data-1.0.1-py3-none-any.whl
- Upload date:
- Size: 42.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.5 cpython/3.13.2 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce584060790bb73bc5874614b7645e7ecd04051f41ba10b39eca895ab9a02125
|
|
| MD5 |
9c4229e8df51b0c2c6d1a33c6c8e8fdf
|
|
| BLAKE2b-256 |
cf16edde1fd8ffc54bc88f75fea5f4e1526b71acc0fbdf495aeeff15d0a30a4a
|