lsst-sims / legacy_sims_GalSimInterface

code to seamlessly generate simulated images using GalSim based off of simulated catalogs generated by CatSim
5 stars 7 forks source link

set GalSimInterpreter._observatory as a class attribute #83

Closed jchiang87 closed 5 years ago

jchiang87 commented 5 years ago

This avoids unnecessary re-calculation with each new instance of the class

jchiang87 commented 5 years ago

I think I must have added the .observatory property when the hour angle calculation was implemented about a year ago or so (and I neglected to add a setter function anyways). Let's go with this and if we want to generalize it to other observatories later, we can do it then.