tddesjardins / ediscs

Code repository for EDisCS project to obtain photometry and photometric redshifts
0 stars 0 forks source link

Update code from Python 2.7 to Python 3 #2

Open tddesjardins opened 6 years ago

tddesjardins commented 6 years ago

Self explanatory. The code was originally written in Python 2.7. For compatibility with a lot of other codes, it needs to be updated to Python 3. At the same time, the code should be revised to be cleaner, PEP8 compliant, include more documentation, and use better coding practices. Subroutines should be migrated out of the main part of the code so that they can be called upon as standalone functions.

tddesjardins commented 6 years ago

Spoke to Gabe Brammer who suggested just ripping out the EAZY binary file reader from the threedhst repo so as to avoid any other dependencies it might have. He's pretty sure it only relies on numpy, so it should be easy enough to do.