-
Notifications
You must be signed in to change notification settings - Fork 4
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
Question on defining the center point for the model #28
Comments
Hi @ktrehaeven . pyproffit is inherently 1D, so it is not possible (at least for the moment) to make a joint fit of two models with different centers. To this end it would be necessary to make a 2D fit; if that is something you are interested in, I would be glad to work with you to implement such a feature. With the current setup, if what you have in mind is to fit two clumps with different centers, what I would do is to mask the second clump, fit the profile of the first clump (possibly in the opposite direction) and create a 2D model for the first clump using the SaveModelImage method. Then I would add the model to the background model and consider the first clump as background, to then fit the second clump and extract another model image for it. The sum of the two model images should be roughly your 2D model. |
Hi, @domeckert, thank you very much for your reply. A 2D version of your
code has already been implemented by Xiaoyuan Zhang et al 2022 (
https://ui.adsabs.harvard.edu/abs/2023A%26A...672A..42Z/abstract) to study
the density fluctuations of the LoTTS-DR2. With that code I was able to fit
two completely independent beta models in 2D. @xzhang do you want to be a
part of this?
Kind regards
Keegan Trehaeven
…On Mon, Oct 28, 2024 at 6:16 PM Dominique Eckert ***@***.***> wrote:
Hi @ktrehaeven <https://github.com/ktrehaeven> . pyproffit is inherently
1D, so it is not possible (at least for the moment) to make a joint fit of
two models with different centers. To this end it would be necessary to
make a 2D fit; if that is something you are interested in, I would be glad
to work with you to implement such a feature.
With the current setup, if what you have in mind is to fit two clumps with
different centers, what I would do is to mask the second clump, fit the
profile of the first clump (possibly in the opposite direction) and create
a 2D model for the first clump using the SaveModelImage method. Then I
would add the model to the background model and consider the first clump as
background, to then fit the second clump and extract another model image
for it. The sum of the two model images should be roughly your 2D model.
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASRMRFEA3NEQKN3Y6TZJU6DZ5ZIMNAVCNFSM6AAAAABQXVA5PWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBSGAZTIMJVHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi
I have a quick question...is it possible to make the surface brightness model have two different centers for the different components? I'm specifically talking about a double beta model...can each beta model have a different center and how would you go about doing that if possible?
Kind regards
Keegan Trehaeven
The text was updated successfully, but these errors were encountered: