Skip to main content
# 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.

Metadata

Release files for craterslab 0.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for craterslab 0.2.8
File Size Uploaded
craterslab-0.2.8.tar.gz 23.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for craterslab 0.2.8
File Interpreter ABI Platform
craterslab-0.2.8-py3-none-any.whl Python 3 none any Details

Total release size: 46.3 MB

Release files / craterslab-0.2.8.tar.gz

Download URL craterslab-0.2.8.tar.gz
Size 23.2 MB
Tags Source
SHA-256 checksum
How to use checksums
4404b371689dd572a2a1c1cf65014a096585c8ab34ef45cb457ed2d1652f0180
BLAKE2b-256 checksum
How to use checksums
754538e0c011516b9a49049b3b2c6007c8c677bfd56eb3d27a3fb036acb35aad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.7 Linux/6.11.11-1-MANJARO

Release files / craterslab-0.2.8-py3-none-any.whl

Download URL craterslab-0.2.8-py3-none-any.whl
Size 23.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ceb42d5dd28afd94de932b38e2356d8bfeb9af6a9bd480b873aac2f894a965d1
BLAKE2b-256 checksum
How to use checksums
be285aba26c40dca6b17ae5b99b881c605e5a5a9c82c83e6f7c3c5c47b0d2ce9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.7 Linux/6.11.11-1-MANJARO

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page