Replies: 6 comments
-
Hi @x12red, you can absolutely model the whole image but since the run time is a function of the image size, it may take longer to finish fitting. The long answer is that it depends on what goes into the model and if you can share, I can provide some advice. If you have a PSF that convolves the image, the convolution is what takes the longest time. It also depends on whether your sources are overlapping. The reason I ask is because there are several techniques to speed up the process. Lastly, I am in the middle of upgrading the code and if you can describe what the ideal workflow looks like, we can try to implement it. Thanks for opening a ticket! |
Beta Was this translation helpful? Give feedback.
-
I did a test with an image with size 4000 pixels and a PSF of size 50 pixels, I made a single Sersic profile as the simulated data. I then fitted the image with reasonable parameter guesses. I ran the fit on the default settings, except I set the accuracy to a much higher accuracy of |
Beta Was this translation helpful? Give feedback.
-
Dear Robel, Thanks for your quick reply and tests. Basically, my idea would be the following one: |
Beta Was this translation helpful? Give feedback.
-
I can take a look at the data and give feedback. My email is on my GitHub page and if you upload the data to the cloud, I can download it. I would say you should use PhotUtils for your segmentation and deblending. If you are experienced with PhotUtils, PetroFit provides shortcut functions to do this. I would recommend playing around with the PhotUtils functions if you haven't had the chance to use it yet. |
Beta Was this translation helpful? Give feedback.
-
Converting this issue into a discussion. #76 |
Beta Was this translation helpful? Give feedback.
-
@x12red We can continue to chat here. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I was looking for a package to create a model for my image and I found this one.
I have a very ultra-deep image (a simulated one) where I want to model bright sources on the field of view to subtract them and extract the faintest ones. I wonder if I can use this package to create a model image using my whole image (let's say 4000x4000) or it only works on a very little piece of it.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions