dynamics-of-stellar-systems / dynamite

dynamics, age and metallicity indicators tracing evolution
MIT License
14 stars 1 forks source link

Sb profile plots #352

Open maindlt opened 10 months ago

maindlt commented 10 months ago

The SB profile plots are added to plotter.py: Plotter.plot_sb_profile(...).

Tested with test_nnls.py, the last 2 lines of that script create the sb_profile.png file in the plots directory. Very large scatter in this example (NGC6270), let's discuss... ;-)

Closes #351.

maindlt commented 10 months ago

Here are the profiles from the current test_nnls.py...

sb_profile

sthater commented 9 months ago

Regarding the discussion: Did you use circular R in order to create these plots? The scatter might be reduced by using elliptical radii, but this would require knowing the ellipticity and position angle of the major axis of the galaxies. I would suggest to leave this to the user?

maindlt commented 9 months ago

The example is not chosen optimally ;-) it is our test galaxy NGC6278 which is non-circular and since I used circular R the scatter is enormous.

While we have the position angle in DYNAMITE, we currently do not have the ellipticity (or a and b of the projected "symmetry ellipse"). One solution would be to leave it to the user to provide an and b (e.g., in arcsecs), another approach to calculate it based on the 2d surface brightness. What do you think?