# Uhina
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
> 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
``` sh
# 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](https://github.com/franckalbinet/uhina):
``` sh
$ pip install git+https://github.com/franckalbinet/uhina.git
```
or from [pypi](https://pypi.org/project/uhina/)
``` sh
$ pip install uhina
```
### Documentation
Documentation can be found hosted on this GitHub
[repository](https://github.com/franckalbinet/uhina)’s
[pages](https://franckalbinet.github.io/uhina/). Additionally you can
find package manager specific guidelines o
[pypi](https://pypi.org/project/uhina/) respectively.
## How to use
``` sh
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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/franckalbinet/uhina",
"name": "uhina",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "nbdev jupyter notebook python",
"author": "Franck Albinet",
"author_email": "franckalbinet@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d2/4a/f7ea50517f7699cfc07fda228f3d83493589579b6510622185b8d6aac91c/uhina-0.0.2.tar.gz",
"platform": null,
"description": "# Uhina\n\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\n> Converts 1D infrared spectra to 2D (Continuous Wavelet Transform)\n> representations.\n\n## Developer Guide\n\nIf you are new to using `nbdev` here are some useful pointers to get you\nstarted.\n\n### Install uhina in Development mode\n\n``` sh\n# make sure uhina package is installed in development mode\n$ pip install -e .\n\n# make changes under nbs/ directory\n# ...\n\n# compile to have changes apply to uhina\n$ nbdev_prepare\n```\n\n## Usage\n\n### Installation\n\nInstall latest from the GitHub\n[repository](https://github.com/franckalbinet/uhina):\n\n``` sh\n$ pip install git+https://github.com/franckalbinet/uhina.git\n```\n\nor from [pypi](https://pypi.org/project/uhina/)\n\n``` sh\n$ pip install uhina\n```\n\n### Documentation\n\nDocumentation can be found hosted on this GitHub\n[repository](https://github.com/franckalbinet/uhina)\u2019s\n[pages](https://franckalbinet.github.io/uhina/). Additionally you can\nfind package manager specific guidelines o\n[pypi](https://pypi.org/project/uhina/) respectively.\n\n## How to use\n\n``` sh\nusage: uh [-h] [--img_dir IMG_DIR] [--dataset DATASET] [--spectra_type SPECTRA_TYPE] [--analytes ANALYTES] [--n_samples N_SAMPLES] [--batch_size BATCH_SIZE]\n src dir_out\n\nConvert spectra to wavelet images.\n\npositional arguments:\n src Source file\n dir_out Output root directory\n\noptions:\n -h, --help show this help message and exit\n --img_dir IMG_DIR Image directory (default: img)\n --dataset DATASET Dataset to use (default: ossl)\n --spectra_type SPECTRA_TYPE Spectra type to use (default: mir)\n --analytes ANALYTES Analytes to use (default: k.ext_usda.a725_cmolc.kg)\n --n_samples N_SAMPLES Number of samples to use\n --batch_size BATCH_SIZE Batch size to use (default: 10)\n```\n",
"bugtrack_url": null,
"license": "Apache Software License 2.0",
"summary": "1D to 2D (Continuous Wavelet Transform) infrared spectra converter",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/franckalbinet/uhina"
},
"split_keywords": [
"nbdev",
"jupyter",
"notebook",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4c273fdd17e2b240fdca9a553bc33cfc1eb1385dc6590f2f82782ba3ce19e0fc",
"md5": "df47a9ddaa6f9df0e328cf725fd5dfc6",
"sha256": "3e54d8484411c100d6e9a250f2a6ea915a369aa7a80fac41a4df945640a0eb61"
},
"downloads": -1,
"filename": "uhina-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "df47a9ddaa6f9df0e328cf725fd5dfc6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 14471,
"upload_time": "2024-10-01T14:38:52",
"upload_time_iso_8601": "2024-10-01T14:38:52.102313Z",
"url": "https://files.pythonhosted.org/packages/4c/27/3fdd17e2b240fdca9a553bc33cfc1eb1385dc6590f2f82782ba3ce19e0fc/uhina-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d24af7ea50517f7699cfc07fda228f3d83493589579b6510622185b8d6aac91c",
"md5": "a60f5143b63c5cea9d154532658e75ee",
"sha256": "281b8ed6ea954a7387dad639a14f48b435320f381d9af0ef2300b5496d48cf56"
},
"downloads": -1,
"filename": "uhina-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "a60f5143b63c5cea9d154532658e75ee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 15235,
"upload_time": "2024-10-01T14:38:53",
"upload_time_iso_8601": "2024-10-01T14:38:53.705919Z",
"url": "https://files.pythonhosted.org/packages/d2/4a/f7ea50517f7699cfc07fda228f3d83493589579b6510622185b8d6aac91c/uhina-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-01 14:38:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "franckalbinet",
"github_project": "uhina",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "uhina"
}