pymascdb provides tools to process, archive, and anaylze MASC snowflake images.
Project description
pyMASCDB - An API to query MASC data.
The code in this repository provides an API to query, filter and visualize MASC data.
The folder tutorials provides code examples to explore the capabilities of the MASCDB API.
The tutorials are conceived for line-by-line execution for example using the spyder GUI. They cannot be run as scripts.
They provide example usage for:
- Downloading MASCDB [
00_download_mascdb.py] - Data manipulation and other MASCDB API functionalities [
01_data_manipulation.py] - Exploratory data analysis (EDA) [
02_eda.py] - Image display and processing [
03_image_processing.py]
The folder examples provides a link to some jupyter notebooks with a minimal selection of functionalities, the same as the ones used in the online documentation
Installation
For a local installation, follow the below instructions.
-
Clone this repository.
git clone https://github.com/ltelab/pymascdb.git cd pymascdb
-
Install the dependencies using conda:
conda env create -f environment.yml
-
Activate the mascdb conda environment
conda activate mascdb
-
With mascdb environment activated, install the package:
python setup.py install
In this way, mascdb can simply be loaded, from any directory, as:
import mascdb.api
from mascdb.api import MASC_DB
ATTENTION: The code has been currently tested only under Linux-Unix systems.
Documentation sources
Documentation is available at https://pymascdb.readthedocs.io/en/latest/index.html
Data source
The data should be downloaded from Zenodo at: https://doi.org/10.5281/zenodo.5578920
References
Contributors
License
The content of this repository is released under the terms of the MIT license.
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 mascdb-0.1.1.tar.gz.
File metadata
- Download URL: mascdb-0.1.1.tar.gz
- Upload date:
- Size: 52.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0bead0842b77d2f16984145810c0f7915145515ba68688768b4e3b76163cff5
|
|
| MD5 |
c87f7c8b222b9215e1e82a2e66944252
|
|
| BLAKE2b-256 |
5e0f93894b616b57a4ecb43232ff006b5f4d919882ce7a8dfbb17c2281c060fb
|
File details
Details for the file mascdb-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mascdb-0.1.1-py3-none-any.whl
- Upload date:
- Size: 41.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d33740b33b8340b0678a2b9c184ad50201e692f0ad8cd75c77c41dee5b7100bb
|
|
| MD5 |
f8e6311062ff569bb21519055ecb83d1
|
|
| BLAKE2b-256 |
320dc25415f5893ca93c67f8584e2b48315b4bbd67fb776bccdc5313081aa119
|