[mesa-users] Color Magnitude Diagram

Robert Farmer rjfarmer at asu.edu
Wed Apr 12 16:19:47 EDT 2017


So yes it is possible to get a color-magnitude diagram, working from r9575

In the star_job.defaults file in the "color files" section  we set the
files of bolometric corrections mesa uses. By default this is
Johnson-Cousins-ish bands (VBURIKHJLL'M) from Lejeune, Cuisinier, Buser
(1998). You can add your own files if you need filter bands we don't ship.

Assuming you stick with the Johnson-Cousins bands, then first do nothing
with the star_job inlist, then looking in the history columns file in the
Color output section there are the options to add the color data to the
history output. Lets say we want to plot (B-V) vs V then you need to add to
your history output

abs_mag v
abs_mag b
or you could add
to get all filters in your output

then in your pgstar plot

Color_magnitude1_win_flag = .true.
Color_magnitude1_xaxis1_name = 'abs_mag_b'
Color_magnitude1_xaxis2_name = 'abs_mag_v'  ! Plots xaxis1-xaxis2, leave
xaxis2 blank to just plot xaxis1
Color_magnitude1_num_panels = 1 ! Like the profile/history panels can have
multiple panels with same xaxis
Color_magnitude1_yaxis1_name(1) = 'abs_mag_v' ! could also set yaxis2 to
plot yaxis1-yaxis2


On Wed, Apr 12, 2017 at 12:14 PM, Kenny Van <kvan at ualberta.ca> wrote:

> Hi,
> I'm wondering if it was possible to create a color magnitude diagram in
> MESA. I know there is a color directory within MESA but I'm not sure how it
> works or how to go about setting up the appropriate inlist or history file
> to produce the values to be used.
> Thanks
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170412/773ee892/attachment.html>

More information about the Mesa-users mailing list