Skip to main content

HELP project module

Project description

This Python module aims at facilitating the working HELP data. It also contains tools that are useful while building the project database. We also hope that the code may of general use in astronomy projects.

Installation

Provided you installed [Anaconda](https://www.continuum.io/) or [miniconda](http://conda.pydata.org/miniconda.html) here are the commands to run (from within the cloned GitHub repository):

`Shell $ conda create -n herschelhelp python=3 $ conda activate herschelhelp $ pip install -e . $ python database_builder/__init__.py `

This will install the code in editable mode allowing source files to be updated.

You will need to activate this new environment with conda activate herschelhelp when you want to use this module or its command.

Command line

This module provides a herschelhelp command line for an easy access to some tools. This command has (will have) several sub-commands to perform various tasks. Running the command alone will show the list of available (sub)commands. Running herschelhelp <COMMAND> –help will display the help on the given command.

Note for macOS users: to be able to use the command line, the locale of the system must be set to an UTF-8 one, see [this page](http://click.pocoo.org/5/python3/#python3-surrogates).

Running inside a Jupyter notebook

If one need to use this code inside a Jupyter notebook, one should install the notebook stuff:

`Shell $ conda install notebook `

and add the environment Python to the list of kernels for Jupyter:

`Shell $ python -m ipykernel install --user --name helpext --display-name "Python (herschelhelp_python)" `

The notebooks must be set to use this kernel.

Note: maybe it’s not mandatory to install the full notebook and only the ipykernel is required if Jupyter is already installed on the system.

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

herschelhelp-1.0.3.tar.gz (1.4 MB view hashes)

Uploaded Source

Built Distribution

herschelhelp-1.0.3-py3-none-any.whl (44.7 kB view hashes)

Uploaded Python 3

Supported by

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