skyportal / gwemopt

Gravitational-wave Electromagnetic Optimization
GNU General Public License v3.0
19 stars 34 forks source link

Group chipgap scripts, delete unused functions #114

Closed robertdstein closed 1 year ago

robertdstein commented 1 year ago

There are several scripts named "tile/tiling". This PR groups the two "tiling" scripts for decam/ztf, which get called when calculating chip gaps, and puts them into a dedicated directory called chipgaps. It comments out several Decam functions which are never actually used anywhere, and renames the identically-named get_quadrant_ipix function in each script to differently-named get_decam_quadrant_ipix and get_ztf_quadrant_ipix. Lastly, it updates moc.py to import the newly-named functions, and as a bonus deletes from unused variables in moc.py.