Repository navigation
psf_photometry with masks, output as astropy.table.Table - #159
Conversation
|
@hamogu - thanks for working on this! We've been neglecting the PSF sub-package, so it's great to see you are interested in working on it :) I'll try and provide some comments on what's here so far. |
|
This looks good to me so far - I haven't looked in detail at all the code, but why does |
|
@hamogu - just to check, what is your timescale for working on this? I was planning to have a look at some issues in |
|
I am back form vacation and back to working on this. I don't know when I will be finished, though. |
|
To be clear, I don't see a reason why |
|
@hamogu - The photutils release will be this week on Friday. |
|
Unfortunately, I won't be able to make that for 0.1. I'm changing positions, move to a different house and need to get things in for astropy before the 1.0 feature freeze. I have not forgotten about the PR but it's not the top of my list currently. |
|
OK ... thanks for the quick reply! |
|
It would help if we could resolve astropy/imageutils#21 |
|
I suspect that astropy/#3333 will not make it into 1.0, but I really want to use that here. Can I do that or do we need to support astropy 1.0? |
|
@hamogu At the moment we support Astropy 0.4 in photutils, after the 1.0 release we can discuss if we drop 0.4 support. You can put some version of what you need in |
|
@hamogu, are you still working (or plan to work) on this PR? |
|
@larrybradley : I started that when I worked on a project that needed PSF photometry. I have not worked on that project since 2014, but now I'm back on it. (Hence my recent PRs to photutils and ccdproc). I will get this far enough to do the photometry I need in the next few weeks and then wrap it up to make this PR mergable. |
|
Thanks, @hamogu! |
|
@hamogu - in an odd quirk of timing I am re-examining this stuff too (along with @larrybradley and some others at STScI). I'm imagining a more thorough re-vamping of some of this interface to make it somewhat more consistent with the way I think a lot of that is orthogonal to what you're saying here though, so that's promising... Of particular interest to me right now is your third bullet, the |
|
I an really odd quirk of timing I just started working on this again yesterday afternoon (about 3 hours before this message) and decided that it's not worth fixing this in the old way the models are defined. Also, there are far too many issues that are related in some way (#254, #189, #144, #63, #49, #48, #43), most of which can be addressed easily the migrating to the new models interface. @eteq Maybe we can have an impromtu 10 min telecon / phone call today and see how we divy that up without dublication? |
- Change the name to IntegratedGaussianPSF to distinguish better from astropy's Gaussian2D (This addresses 50% of astropy#48 ) - removed "fit" method and changed to new astropy modelling framework. - changed parameter from "amplitude" to "flux": fixes astropy#254
|
@hamogu - sounds good, I sent you an email with availability (I think I sent it to the right address... Let me know if not.) |
[skip CI]
Conflicts: photutils/aperture_core.py photutils/psf.py photutils/tests/test_psfs.py
|
@hamogu - after a bit more thought, I'm not sure it will be so easy as I said here... RTD might have an issue installing pandoc (which is needed for the nb->RST machinery in nbconvert). I think the best thing is to just merge this and see, though. If it turns out we have to do what you say (generate the RST and check that in), then we can do that in a second PR, but it's often tough to diagnose RTD problems anywhere other than the "real" branch... |
|
Looks like the one remaining failure is in the spitzer notebook, and I can reproduce that locally. Will try to fix that now, but if I can't do it by the end of today, shall we just re-name the extension so that it doesn't get run, and pull the trigger? |
|
I introduced more failures during the rebase. I'm trying to diagnose that now. I'll report back in 5-10 min. |
|
Oh, apparently I was looking at and old Travis. Agreed. Fix today or shoot. |
|
Alright, I'm going to go ahead and merge this with a partial but not fully-functional, renamed version of the spitzer notebook. Will fix in the near future. I'll also go ahead and add some relevant issues. |
Extensive rework of psf subpackage
|
@hamogu - This rather big PR doesn't have any trace in the changelog. |
I started to add more features to the psf photometry (because I need it for a project). Unfortuntely, I did not finish it before I go on vacation, so I decided to put this half-working branch out there.
This is my plan for this PR:
EDIT: See updates task list further down.
So far, all development is in
GaussianPSF, but the same applies to other PSFs and to PRFs, too. I think I can do PRFs in this PR, but later we will need some refactoring to make this work with arbitrary PSF models.Comments on the API changes in here are welcome, other help is appriciated, too.