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.11.tar.gz (27.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for SpacePuma-0.11.tar.gz
Algorithm Hash digest
SHA256 f089b2b6f22358dc95abe5c843feadaac0b5c26f0ca34ed7bf8b50053de9c2fc
MD5 ae79234ba62ad0a995cc016b2abf1b1d
BLAKE2b-256 d018d0fe7a5dd7926a94ea4cc887106af557809d23f6290b35cdef2974bbb223

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