Skip to content

arm2arm/gaiautils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gaiautils

gaia.aip.de cheatsheet

Convert gaia source_id to healpix ID

hpix  = source_id / (235×4(12−n)) = source_id / 2**(59−2n)

Usage

in order to make a loop over the all sky you should go over the hpix one by one: in this pseudocode example you will get with HpixLevel=5 12288 splits, representing the whole sky.

HpixLevel=5
NPIX = 12*4**HpixLevel

for i in range(0,NPIX):
   data=make_one_query()
   save_data(f"level_{HpixLevel}_hpix_{i}.h5")

About

gaia.aip.de cheatsheet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages