-
Notifications
You must be signed in to change notification settings - Fork 9
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
Best practice for book keeping? #196
Comments
Hi @entaylor , indeed there is a lot of bookkeeping to do! It's so cool to see built out pipelines with the code :) I think there are a bunch of tricks that I could write out in a tutorial for sure. For example for any model you can do I had attempted to make a human readable automatic output at one point, this is the Perhaps we can use this issue to discuss a format that AstroPhot could automatically output which would be useful for pipelines like what you are constructing. I have a few ideas for what could be done, which have advantages and drawbacks.
I'm sure there are other options too. Let me know what you think! |
Hi @entaylor , I am working on some example scripts to help users get started. One of the scripts takes an image and a segmentation map from the user and fits a single model type to everything in the image (plus a sky model, and a "primary object" which can have different model types). Check out the #209 PR, the file you'll want to look at is: |
Once again let me say that i am blown away by the power of this wonderful tool. So much fun.
I am currently working to build an image calibration pipeline, centred on astrophot modelling/photometry for stars. There are a few steps to the process: first i fit many stars separately and independent to assess their suitability for PSF modelling; then i fit an ensemble of 'good' stars with a single model to determine the PSF and to get the positions and fluxes to be used for astrometric and photometric calibration. Like i say: fun! : )
The hardest part of this with astrophot is actually tracking and extracting the results of the fits — which says a lot about how good astrophot is at what it is supposed to do! But still, it would be good to have some documentation or guidance and possibly even some extra functionality to help with record keeping.
I'm not sure that what i'm doing is particularly good or clever, but just to show the approach that i have gravitated towards:
In the first phase when i fit many stars separately and independently, here is what i do:
In the later phase, when i have the positions and fluxes of many stars fit with the same PSF, i have a different but equally awkward pattern:
I recognise that the pattern one should use is specific to use case, and that the point of astrophot is that it is structured to be applicable to many and varied situations. So actually conceiving of a unified scheme for 'just works' dumping of data into a table is probably a fool's errand. But it might make sense to have some facility to do some common/likely use cases like the ones above?
But regardless, it would be very helpful to have a tutorial notebook that includes some examples and/or guidance for best practice ways of constructing catalogues/tables of results from astrophot.
The text was updated successfully, but these errors were encountered: