Domain adaptation for FTIR spectra
Project description
AdaptFTIR
Description
This repository contains a Python implementation of the AdaptFTIR method described in the paper entitled "Title" (doi url).
Installation
The package is available via PyPI:
pip install AdaptFTIR
Usage
For detailed information on how to initialize the AdaptFTIR method and configure its parameters, please refer to the example_usage.ipynb Jupyter Notebook and the code documentation in the AdaptFTIR.py file. The basic usage format is as follows:
from AdaptFTIR import AdaptFTIR
# Initialize an instance of AdaptFTIR with a calibration set
adapter = AdaptFTIR(spectra=<your_spectra_to_augment>,
subject_ids=<your_subject_ids_for_spectra_to_augment>,
calibration_set=<your_calibration_set>,
calibration_ids=<your_calibration_set_subject_ids>)
# Create synthetic samples based on an input set of training samples X and associated sample labels y
X_gen, y_gen = AdaptFTIR.run(n_per_subject_id=<your_n_per_subject_id>)
Citation
Citation goes here
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 AdaptFTIR-0.1.0.tar.gz.
File metadata
- Download URL: AdaptFTIR-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17f0c4d9f597d0a50b91df71d61d72636b78d1527a7ea3fd0a98ebea33996015
|
|
| MD5 |
94077304b255837495adc5213ce6452d
|
|
| BLAKE2b-256 |
31a75636b8fd6860ecc0a71b44016c72f84e9ddfed9fe08024f299b97826e6f4
|
File details
Details for the file AdaptFTIR-0.1.0-py3-none-any.whl.
File metadata
- Download URL: AdaptFTIR-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04021124e0c912825fd4c7d89fdd1342b9ee1d66f422efc7c1a4ccc654d06c37
|
|
| MD5 |
d5dec5134bb5884c77f70770bed5abef
|
|
| BLAKE2b-256 |
5c430e0a445527777a808470920d9acf4f3292cd39a76a436ee842be0ad197cc
|