You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a low surface brightness galaxy.
The maximum pixel value is 0.39, the minimum pixel value is -0.32.
Then I use photutils.ellipse.fit_image() to fit the galaxy. There is a warning.
AstropyUserWarning: No meaningful fit was possible.
I can't get a real fitting.
The content you are editing has changed. Please copy your edits and refresh the page.
Actually I have the same problem and I am still trying to figure out how to solve it.
What I have noticed is that:
-increasing maxgerr and conver parameters about 2*default_value helps a lot the convergence, reducing the computation time. However it reduces the accuracy.
-multiply the image for a large number (e.g., 1012) helps a lot the convergence and the numerical error introduced by 1012/10**12=1 is negligible. Unfortunately, in this way, a3,b3.a4,b4 are automatically set to nan. Which is not necessarily a bad thing in the case of LSB galaxies.
-increasing maxit helps the convergence but increases drastically the computation time.
-Finally, THE MOST IMPORTANT, the initial guess must be an EllipseGeometry and it has to be accurate. Fit_image starts fitting the deviations from such EllipseGeometry shape, hence, if EllipseGeometry is not accurate Fit_image fails at the first isophote and stops saying "AstropyUserWarning: No meaningful fit was possible."
I hope this helps, waiting for a better answer from the developers
I have a low surface brightness galaxy.
![image](https://private-user-images.githubusercontent.com/94830897/244268633-f320204c-6122-401c-af5d-2166bdae1c5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTgwNDIsIm5iZiI6MTczOTE1Nzc0MiwicGF0aCI6Ii85NDgzMDg5Ny8yNDQyNjg2MzMtZjMyMDIwNGMtNjEyMi00MDFjLWFmNWQtMjE2NmJkYWUxYzViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAzMjIyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg0OGRjMmVhYzRjYjIzNTFjMzUyOTgxMTY0OTViNWYxY2RiZDNjM2E2MzUyYjlmMjlmYmUyOWMzOWRjM2Y3ZmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xl7AWqoESyMUyUDwT1AbAPHOx7ebC8FGdVgNMqn5wEk)
The maximum pixel value is 0.39, the minimum pixel value is -0.32.
Then I use photutils.ellipse.fit_image() to fit the galaxy. There is a warning.
AstropyUserWarning: No meaningful fit was possible.
I can't get a real fitting.
Tasks
The text was updated successfully, but these errors were encountered: