Skip to main content

No project description provided

Project description

ipyaladin

Documentation

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:

ipyaladin example

Examples

Some example notebooks can be found in the examples directory.

A subset of examples

basic commands importing tables display MOCs
display sky regions retrieve data from the widget advanced app

Binder. You can also try it directly in mybinder, without installing anything.

Installation

To install use pip or conda :

> pip install ipyaladin

You can already try to load ipyaladin in a notebook.

from ipyaladin import Aladin
aladin = Aladin()
aladin

Development installation

First, make sure you have installed jupyter in 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
> npm run dev

And you are ready to develop! Any change done in the python, javascript, or css files should be directly reflected in the notebook editor of your choice (JupyterLab, VSCode,...)!

How does it work?

Ipyaladin brings Aladin Lite into notebooks thanks to Anywidget.

Correspondence table between ipyaladin versions and Aladin Lite versions:

ipyaladin Aladin-Lite
Unreleased 3.7.3-beta
0.7.0 3.7.3-beta
0.6.0 3.6.5
0.5.2 3.5.1-beta
0.5.1 3.5.1-beta
0.5.0 3.5.1-beta
0.4.0 3.4.4-beta
0.3.0 3.3.3-dev

[!TIP] This can always be read like so

from ipyaladin import __version__, __aladin_lite_version__
print("version:", __version__, "running Aladin Lite:", __aladin_lite_version__)
version: 0.4.0 running Aladin Lite: 3.4.4-beta

Works with

Actively tested

These are tested for each release.

Not actively tested

We know that it works, but we don't track the bugs ourselves. Feel free to open an issue if something is not working anymore. You can also contribute to this list if you know of an other notebook environment where ipyaladin works.

Acknowledging ipyaladin

If you use ipyaladin for your work or research, we kindly ask you to cite it with the following acknowledgment:

This research made use of ipyaladin, developed by CDS, Strasbourg Astronomical Observatory, France (DOI: 10.26093/kpaw-kb74 ).

2020ASPC..522..117B - ipyaladin: Enabling Aladin Lite in Jupyter Notebooks (Boch T. et al.)

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

ipyaladin-0.7.0.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipyaladin-0.7.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file ipyaladin-0.7.0.tar.gz.

File metadata

  • Download URL: ipyaladin-0.7.0.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ipyaladin-0.7.0.tar.gz
Algorithm Hash digest
SHA256 1fc2f8e647c6e066cc5b63b65c2afe09ba07b2df10a6268cba85de1644d0949d
MD5 ede930c2acb702810b7901097d589a80
BLAKE2b-256 4b0eb7f0ef98bb9a00e9a903fc5f34e54d5226e052579252a42090664d57822f

See more details on using hashes here.

File details

Details for the file ipyaladin-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: ipyaladin-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ipyaladin-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb7bc85179db202acc482aa6236c756ed20c729ca0ab6508ba4b7b7a42166abf
MD5 83fb3503ef4dd27d951a56339450cadd
BLAKE2b-256 3b79cea7035a490d4eca078ac00481729211877d5ff77b0dcca03f2c88805f0f

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