Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating rectangular panoramic images #110

Open
DonkeyShot21 opened this issue Oct 5, 2017 · 3 comments
Open

Creating rectangular panoramic images #110

DonkeyShot21 opened this issue Oct 5, 2017 · 3 comments
Labels
Milestone

Comments

@DonkeyShot21
Copy link

Hey guys, many thanks for this library. I'm new to HiPS and I would like to know if there is a easy way to automatically convert an HiPS file to 2D panoramic images.

Thanks in advance :)

@tboch
Copy link
Member

tboch commented Oct 5, 2017

Hi,
are you thinking of something similar to what is available here: http://aladin.unistra.fr/hips/cardboard-photospheres/ ?

@DonkeyShot21
Copy link
Author

Thanks for your reply. Yes, something like that! Maybe with: HipsTileAllskyArray?

@cdeil cdeil added the question label Oct 5, 2017
@cdeil cdeil added this to the wishlist milestone Oct 5, 2017
@cdeil
Copy link
Contributor

cdeil commented Oct 5, 2017

@DonkeyShot21 - I'm still not exactly sure what you mean by "convert an HiPS file to 2D panoramic images"!?

Do you have HiPS tile files on your local machine?
Tiles are rectangular JPEG / PNG or FITS files, often 512 x 512 pixels that look like this:


Or do you just want to make a "normal" sky image using HiPS tiles that CDS or other astronomy data centers have prepared and are serving via a web server (see http://aladin.u-strasbg.fr/hips/) ?

If it's this use case, you should start by executing and reproducing the example sky image here:
https://hips.readthedocs.io/en/latest/getting_started.html
and then play with the parameters of this function to define which sky image you want:
https://hips.readthedocs.io/en/latest/api/hips.WCSGeometry.html#hips.WCSGeometry.create
E.g. you could make the "fov" larger if you want an allsky image.


Please let us know if this helps or what exactly you're trying to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants