-
Notifications
You must be signed in to change notification settings - Fork 12
Add gridded psf wrapper [WIP] #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
This error |
|
Current version fails as noted by @andrew-saydjari because of a regression in photutils (astropy/photutils#1660); photutils==1.6.0 will work. the workaround: stamps = []
for i in range(len(col)):
stamps.append(self.psfgridmodel.evaluate(cols[:,:,i], rows[:,:,i], 1, col[i], row[i]))
stampsS = np.stack(stamps,axis=0)
stamps = np.transpose(stampsS,axes=(0,2,1))works because it circumvents the cache-related bug introduced. |
…alculations were being performed
I've got this most of the way working, I think, but there are still problems:
squeezecorrect? (I think no; next thing to test)