GithubHelp home page GithubHelp logo

gatwe / ipyaladin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cds-astro/ipyaladin

1.0 0.0 0.0 14.89 MB

An IPython Widget for Aladin Lite

License: BSD 3-Clause "New" or "Revised" License

Shell 0.06% Python 2.95% JavaScript 96.94% Batchfile 0.05%

ipyaladin's Introduction

ipyaladin

Description

A bridge between Jupyter and Aladin Lite, enabling interactive sky visualization in IPython notebooks.

ipyaladin example

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.

Binder) 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

There is also an experimental conda package that can be installed with:

$  conda install -c tboch ipyaladin 

For a development installation (requires npm) you can either do:

$ git clone https://github.com/cds-astro/ipyaladin
$ cd ipyaladin
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix ipyaladin
$ jupyter nbextension enable --py --sys-prefix ipyaladin

or directly use the compile.sh script:

$ git clone https://github.com/cds-astro/ipyaladin
$ cd ipyaladin
$ ./compile.sh

Note: Sometimes the module installation crash because of a conflict with an older occurence of itself, if so to solve this problem go to: ~/anaconda3/share/jupyter/nbextensions Then suppress the ipyaladin corrupted file.

Running in JupyterLab (experimental)

To enable ipyaladin in JupyterLab:

$ git clone https://github.com/cds-astro/ipyaladin
$ cd ipyaladin/js
$ jupyter labextension install

ipyaladin's People

Contributors

gatwe avatar jrmd54 avatar tboch avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.