Author: Behrouz Safari
Website: AstroDataScience.Net
baladin
Pythonic tool to work with Aladin Lite
Installation
Install the latest version from PyPI:
pip install baladin
The only requirement is pandas.
For more information, check these links:
Example 1 : add surveys and markers
from baladin import Aladin
a = Aladin(target='270.6003707 -23.0224839')
buttons = [
('P/2MASS/color', 'bs 2MASS'),
('P/GLIMPSE360', 'bs GLIMPSE 360'),
]
markers = [
(270.332621, -23.078944, 'PSR B1758-23', 'Object type: Pulsar'),
(270.63206, -22.905550, 'HD 164514', 'Object type: Star in cluster'),
(270.598121, -23.030819, 'HD 164492', 'Object type: Double star'),
]
a.add_survey_buttons(buttons)
a.add_markers(markers)
a.create()
a.save('index.html')
Example 2 : add SIMBAD and VizieR layers
from baladin import Aladin
a = Aladin(target='270.6003707 -23.0224839')
a.add_simbad()
a.add_vizier('I/239/hip_main')
a.create()
a.save('index.html')
You can pass optional arguments target and radius to both add_simbad and add_vizier methods.
Example 3 : Southern-Ring-Nebula from JWST as overlay layer
from baladin import Aladin
a = Aladin(target='151.75735684271, -40.43642515362001', fov=0.1)
buttons = [
('P/2MASS/color', '2MASS'),
('P/DSS2/color', 'DSS'),
]
a.add_survey_buttons(buttons)
hips_id = 'CDS/P/JWST/Southern-Ring-Nebula/NIRCam'
hips_name = 'Southern-Ring-Nebula'
hips_base_url = 'https://alasky.cds.unistra.fr/JWST/CDS_P_JWST_Southern-Ring-Nebula_NIRCam'
hips_max_ord = 14
a.add_image_overlayer(hips_id, hips_name, hips_base_url, hips_max_ord, slider=True)
a.create()
a.save('index.html')
See more at astrodatascience.net
Metadata
Release files for baladin 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| baladin-0.0.2.tar.gz | 4.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| baladin-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / baladin-0.0.2.tar.gz
| Download URL | baladin-0.0.2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e25af801c438bcc19d934d4d21e5f97776f2c4dc63996dfa198391c85eb87c36
|
|
BLAKE2b-256 checksum How to use checksums |
806e6f1b56b95c5961fb7601fbe7df1705ba62b560764c69b04d0463cde224e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Release files / baladin-0.0.2-py3-none-any.whl
| Download URL | baladin-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
092d77e0b84563bb45134887c616c7acd34e2c715160ae1ea9fa3cb0f5a8398c
|
|
BLAKE2b-256 checksum How to use checksums |
8bf933efff833ba847e24590cc0021dd7e515f1faf8de88e5898ae98ed0c59a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Security for baladin 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.