interactive viewer for astronomical surveys
Project description
ipyaladin
A bridge between Jupyter and Aladin Lite, enabling interactive sky visualization in IPython notebooks. With a couple of lines, you can display Aladin Lite, center it on the target of your choice, and overlay an Astropy table:
Examples
Some example notebooks can be found in the examples directory.
. You can also try it directly in mybinder, without installing anything.
Installation
To install use pip:
pip install ipyaladin
Then, make sure to enable widgetsnbextension:
jupyter nbextension enable --py widgetsnbextension
Finally, enable ipyaladin:
jupyter nbextension enable --py --sys-prefix ipyaladin
And you are ready to use ipyaladin inside your notebooks! Additionny, for a jupyterlab usage you will need to:
jupyter labextension develop ipyaladin --overwrite
There is also a conda package that can be installed with:
conda install -c bmatthieu3 ipyaladin==0.2.5
New features corner
Development installation
First, make sure you have installed jupyter on your python environnement: pip install jupyter
.
For a development installation Node.js and Yarn version 1 are also required,
git clone https://github.com/cds-astro/ipyaladin.git
cd ipyaladin
npm install yarn
cd js
npm install
cd ..
pip install -e .
For Jupyter Notebook, do
jupyter nbextension install --py --symlink --overwrite --sys-prefix ipyaladin
jupyter nbextension enable --py --sys-prefix ipyaladin
For JupyterLab, you will need to run this command too:
jupyter labextension develop --overwrite ipyaladin
Then you need to rebuild the JS when you make a code change:
cd js
yarn run build
You then need to refresh the JupyterLab page when your javascript changes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ipyaladin-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8966b7bf6ac613b31ce5ac6a2a2fc45d945c26084bfe17016352dac8db13548 |
|
MD5 | 786b2acb96d29debbe44696064f8f1ec |
|
BLAKE2b-256 | 5a9b20608286cb836e678f70f302a67e670cb1189d3d4a735a8382b5e02e7f1d |