Skip to content

Small routine to convert from RA,DEC to HEALPIX pixel indices to be ingested in the DB

License

Notifications You must be signed in to change notification settings

DarkEnergySurvey/hpixdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

healpixDB

Small routine to convert from RA,DEC to HEALPIX pixel indices to be ingested in the DB

Usage

hpixDB [-h] -i INPUT -o OUTPUT -c COLUMNS [--nside NSIDE] [--hpix_col HPIX_COL]

For help use:

hpixDB --help

Description

Creates Healpix indices for RA,DEC pair taken from a file

Required named arguments:

The name of the input file:

-i INPUT, --input INPUT 

The name of the output file:

-o OUTPUT, --output OUTPUT

The name of the 3 columns used separated by comas, e.g.: NUMBER,RA,DEC, default=NUMBER,ALPHAWIN_J2000,DELTAWIN_J2000 :

-c COLUMNS, --columns COLUMNS

Optional named arguments:

Nside value for Healpix, has to be a power of 2:

--nside NSIDE

The name of the healpix indices column in the output file:

--hpix_col HPIX_COL

About

Small routine to convert from RA,DEC to HEALPIX pixel indices to be ingested in the DB

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages