astropy / SPISEA

Stellar Population Synthesis Modeling
https://spisea.readthedocs.io/en/stable/index.html
64 stars 32 forks source link

Different extinction values #49

Closed Shalmalee15 closed 2 years ago

Shalmalee15 commented 2 years ago

Hi. I have a question. Can I use two different extinction values for the same synthetic cluster? Is there any way I can incorporate that in the code? I recently read that some clusters (especially in the Milky Way), part of them are hidden behind the magnitude of extiction and rest of the cluster remains unaffected due to extinction. Is this feasible using SPISEA? Or is it something simple and I am overthinking?

Thanks so much in advance!

jluastro commented 2 years ago

While there isn’t currently a SPISEA cluster object that takes two distinct extinction values, there are a couple of options. There is a “differential reddened” cluster that will take a mean and standard deviation extinction and produce a Gaussian distribution of extinctions. Or you can make two separate clusters and give them different extinctions and then append the astropy tables that contain the stars. Hope that helps!

On Aug 3, 2021, at 1:57 AM, Shalmalee Kapse @.***> wrote:

 Hi. I have a question. Can I use two different extinction values for the same synthetic cluster? Is there any way I can incorporate that in the code? I recently read that some clusters (especially in the Milky Way), part of them are hidden behind the magnitude of extiction and rest of the cluster remains unaffected due to extinction. Is this feasible using SPISEA? Or is it something simple and I am overthinking?

Thanks so much in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Shalmalee15 commented 2 years ago

That's fantastic. I will try both options. Thanks for the suggestions.