Closed AnthonyHorton closed 4 years ago
@AnthonyHorton let me know if you'd like help on this. I can try to move this forward if you let me know what it needs or if you'd just like a review.
@lspitler Main Issue preventing merging was excessive memory use with the analytic PSFs. The pixel based ones I already sorted out, but something similar needs to be done when using the other type.
@AnthonyHorton I guess you want to write tests too? Under the new short PR regime, would it make sense to merge & close and define the remaining problem in a new Issue? Let me know if you think I can do any of this for you.
@lspitler Yes, the image simulation stuff doesn't have any tests, hence the -3% coverage change. Not too happy with that, either.
Somewhat uncomfortable with merging this into develop
while it still has code that it likely to bring your computer to a grinding halt if you try to use it (it's really that bad!). I guess what we could do though is to temporarily disable the image simulation for the analytic PSFs (i.e. insert a check at the start of the make_noiseless_image
method that raises an informative NotImplementedErrror
if you try to use it with the analytic PSFs) and write up an Issue to come back and fix the memory usage later. Then we could merge this branch and get our feature branches based on develop
again, as they should be.
@AnthonyHorton that sounds like a great plan! Write up the Issue if you can and I'll try and tackle.
@AnthonyHorton OK I implemented a NotImplementedError
solution to the analytical PSF issue as suggested here: https://github.com/AstroHuntsman/gunagala/pull/16/#issuecomment-426844974
You already created an Issue to fix it someday: #29
Can you please do quick review of the changes here so we can merge this into develop
before the X-sensing Hack begins tomorrow?
Adds ability to generated simulated image data to the
Imager
class, based on oldastroimsim
code.