1D to 2D (Continuous Wavelet Transform) infrared spectra converter
Project description
Uhina
Converts 1D infrared spectra to 2D (Continuous Wavelet Transform) representations.
Developer Guide
If you are new to using nbdev
here are some useful pointers to get you
started.
Install uhina in Development mode
# make sure uhina package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to uhina
$ nbdev_prepare
Usage
Installation
Install latest from the GitHub repository:
$ pip install git+https://github.com/franckalbinet/uhina.git
or from pypi
$ pip install uhina
Documentation
Documentation can be found hosted on this GitHub repository’s pages. Additionally you can find package manager specific guidelines o pypi respectively.
How to use
usage: uh [-h] [--img_dir IMG_DIR] [--dataset DATASET] [--spectra_type SPECTRA_TYPE] [--analytes ANALYTES] [--n_samples N_SAMPLES] [--batch_size BATCH_SIZE]
src dir_out
Convert spectra to wavelet images.
positional arguments:
src Source file
dir_out Output root directory
options:
-h, --help show this help message and exit
--img_dir IMG_DIR Image directory (default: img)
--dataset DATASET Dataset to use (default: ossl)
--spectra_type SPECTRA_TYPE Spectra type to use (default: mir)
--analytes ANALYTES Analytes to use (default: k.ext_usda.a725_cmolc.kg)
--n_samples N_SAMPLES Number of samples to use
--batch_size BATCH_SIZE Batch size to use (default: 10)
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
uhina-0.0.2.tar.gz
(15.2 kB
view details)
Built Distribution
uhina-0.0.2-py3-none-any.whl
(14.5 kB
view details)
File details
Details for the file uhina-0.0.2.tar.gz
.
File metadata
- Download URL: uhina-0.0.2.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 281b8ed6ea954a7387dad639a14f48b435320f381d9af0ef2300b5496d48cf56 |
|
MD5 | a60f5143b63c5cea9d154532658e75ee |
|
BLAKE2b-256 | d24af7ea50517f7699cfc07fda228f3d83493589579b6510622185b8d6aac91c |
File details
Details for the file uhina-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: uhina-0.0.2-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e54d8484411c100d6e9a250f2a6ea915a369aa7a80fac41a4df945640a0eb61 |
|
MD5 | df47a9ddaa6f9df0e328cf725fd5dfc6 |
|
BLAKE2b-256 | 4c273fdd17e2b240fdca9a553bc33cfc1eb1385dc6590f2f82782ba3ce19e0fc |