Skip to main content

Interact with your data.

Project description

SpacePuma

The tools included are aimed at increasing the expediancy of data analysis and reduction within the fields of chemistry and astro-chemistry. Tutorial notebooks are included within the Tutorials directory. For detailed instructions on how to modify or add to the tools, check our documentation page here.

Installation

The methods utilized in these tools require Python version 3.8.5 or above.

Upon cloning the repository, you will need to install the series of necessary packages using either the environment.yml file or the requirements.txt file. The recommended setup method is to use create a conda environment sourced from the environment.yml file. The environment can then be activated by following teh steps below. All code should then be executed within that activated environment. Alternatively, you can instruct pip to install all the necessary packages. If utilizing pip, it is recommended that the tools are run in a virtual python environment using pipenv. The environment should ensure that your depenency graph is compatible.

You can complete either installation method by running the following:

To create a conda environment:

conda env create -f environment.yml

To activate the environment:

conda activate astrochem-tools

The environment should be activated in this manner each time the tools are to be used, and deactivated before other python code is run. To deactivate a conda environment, run either:

conda activate

or

conda activate base

Either of these deactivation methods are far superior to conda deactivate as per the conda user guide, if you run conda deactivate from your base environment, you may lose the ability to run conda at all.

To install packages via pip with a virtual environment

# Install pipenv using pip
pip3 install pipenv
# Alternatively, if on MacOS, you can use HomeBrew
brew install pipenv

# From inside the repository, activate the environment shell
pipenv shell

To install packages using pip with no virtual environment

This installation method is not recommended, as it could lead to version control issues.

pip install -r requirements.txt

Now, all the necessary packages should be installed!

Tutorials

Once you have cloned the repository and setup all the necessary virtual environments, you can make use of some of the tutorials we have designed. To access the tutorials, enter the tutorials folder and launch the tutorial notebook:

cd Tutorials
jupyter notebook

Happy coding!

N.B. These tools were originally developed for the Öberg Astrochemistry Group.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SpacePuma-0.14.tar.gz (27.5 kB view details)

Uploaded Source

File details

Details for the file SpacePuma-0.14.tar.gz.

File metadata

  • Download URL: SpacePuma-0.14.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for SpacePuma-0.14.tar.gz
Algorithm Hash digest
SHA256 651ac9f25881613402fb64b0d2bc2be9f0ce2c994b750d83e19b507fb3658d35
MD5 2cd903074c3959aa9da39fe944955a90
BLAKE2b-256 1ec0343e6d8e4d628d1ad0b227f354c07e139ffac64c7a814f311c45b61529ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page