The codebase of the SQIL group in EPFL
Project description
For users
Installation
$ pip install sqil_core
Usage
You can find all the functions available and examples in the documentation.
import sqil_core as sqil
path = 'path to your data folder'
# Extract data
mag, phase, freq = sqil.extract_h5_data(path, ['mag_dB', 'phase', 'ro_freq'])
For developers
Development
- Install poetry if you haven't already
$ pip install poetry
- Install the required packages using poetry
$ poetry install
- Install the pre-commit hooks If you are on windows you need to install git (https://git-scm.com/downloads) and add it to your windows PATH. After the installation open a new terminal.
$ poetry run pre-commit install
This will check if your python files are formatted correctly when you try to commit. If that's not the case the commit will be canceled and the files will be automatically formatted. Then you'll have to add and commit again the new files.
- Start the virtual environment
$ poetry shell
To exit the virtual environment just use exit
Test your changes
$ pip install -e . --user
Anaconda If you want to install in a specific anaconda environment
- from your poetry shell build the package
$ poetry run build
- open an anaconda shell
- activate the desired environemnt
- pip install the wheel file (.whl) in the dist folder of the sqil-core project
$ pip install PATH_TO_SQIL_CORE_FOLDER/dist/SQIL_CORE-VERSION.whl
If you're using a jupyter notebook remember to restart the kernel
Build
$ poetry run build
Docs
Serve docs
$ poetry run docs_serve
Build docs
$ poetry run docs_build
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
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 sqil_core-0.0.1.tar.gz.
File metadata
- Download URL: sqil_core-0.0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc501d5965bf602c3a8c5728ab8cbc3269905b0ce0a3173191ed2428737a119d
|
|
| MD5 |
81bc8c5e2e871440bc7db665d3511dea
|
|
| BLAKE2b-256 |
f14b293e525573314790549dddd016919fbcb8ecc55084c2b7c0b0eb0f133229
|
File details
Details for the file sqil_core-0.0.1-py3-none-any.whl.
File metadata
- Download URL: sqil_core-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
339a6e7dee2f1d15fef24a256548be1e3e5461e87204bce0b4db296bbd9302b4
|
|
| MD5 |
fe773b905c59de0c74f5944b0a587aeb
|
|
| BLAKE2b-256 |
772dd67c700f2cc89dfbc2958d7d67055a06722c9a936ae12a99b8ee685a0878
|