# Craters Morphology Analysis Tool
A library to simplify the analysis of crater data from depth maps.
## Installation
Craterslab requires Python 3.10+ for functioning. Make sure you have a compliant version of [python](https://www.python.org/downloads/) installed in your system.
### Installing craterslab from pypi using pip (Recommended)
Craterslab is also available from pypi. You can install it by running:
```
$ pip install craterslab
```
We strongly encourage users using this method to create a [virtual environment](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/) before installing the library.
### Installing craterslab from the repository using poetry
Make sure you have [poetry](https://python-poetry.org/docs/) in your system and then run:
```
$ git clone https://github.com/gvieralopez/craterslab.git
$ cd craterslab
$ poetry install
$ poetry shell
```
These will create and activate an isolated virtual environment with craterslab installed on it.
## Usage
You can find some examples on how to use the library in this repository:
```
$ git clone https://github.com/gvieralopez/craterslab.git
$ cd craterslab/examples
```
Before executing any example, you will need to download data from actual craters using the provided scripts:
```
$ python download_data.py
```
Then, you can execute any given example as:
```
$ python example1.py
```
See [software documentation](https://craterslab.readthedocs.io/en/latest/) for more details.
## Troubleshooting
### Error running the examples
If you get a warning as such
```
UserWarning: FigureCanvasAgg is non-interactive, and thus cannot be shown
```
You may need to install tk on your operative system.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
craterslab-0.2.8.tar.gz
(23.2 MB
view details)
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 craterslab-0.2.8.tar.gz.
File metadata
- Download URL: craterslab-0.2.8.tar.gz
- Upload date:
- Size: 23.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.7 Linux/6.11.11-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4404b371689dd572a2a1c1cf65014a096585c8ab34ef45cb457ed2d1652f0180
|
|
| MD5 |
8e60cbfe9980b5919686c0538f821971
|
|
| BLAKE2b-256 |
754538e0c011516b9a49049b3b2c6007c8c677bfd56eb3d27a3fb036acb35aad
|
File details
Details for the file craterslab-0.2.8-py3-none-any.whl.
File metadata
- Download URL: craterslab-0.2.8-py3-none-any.whl
- Upload date:
- Size: 23.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.7 Linux/6.11.11-1-MANJARO
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ceb42d5dd28afd94de932b38e2356d8bfeb9af6a9bd480b873aac2f894a965d1
|
|
| MD5 |
bde8d562c0860590ea7f8643b58c85a0
|
|
| BLAKE2b-256 |
be285aba26c40dca6b17ae5b99b881c605e5a5a9c82c83e6f7c3c5c47b0d2ce9
|