interactive viewer for astronomical surveys
Reason this release was yanked:
module not registered error when loading the widget inside a notebook. We will release a version using the new anywidget API
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 or conda :
> pip install ipyaladin
> # OR
> conda install -c bmatthieu3 ipyaladin
You can already try to load ipyaladin in a notebook.
from ipyaladin import Aladin
aladin = Aladin()
aladin
If it does not work, make sure to enable widgetsnbextension
and ipyaladin
:
> jupyter nbextension enable --py widgetsnbextension
> jupyter nbextension enable --py --sys-prefix ipyaladin
Additionny, for a jupyterlab < 4 usage you might need to (note that this is not needed for jupyterlab >= 4.0):
> jupyter labextension develop ipyaladin --overwrite
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 .
(note that the point is important in the last instruction)
Then you need to rebuild the javascript when you change the code:
> 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.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd12cf51fc6f9421b9ae5453513ad55bee78c43a0afc69f03507f731ade89280 |
|
MD5 | 6a250227c3e4680aff368677356f767d |
|
BLAKE2b-256 | d352cd2d88c6b6c3edb1ebf4bdbe69e96e4baa7ce1f4ec1dec845c4bac1fc420 |