[mesa-users] Color Outputs

Sanskriti Das dassanskriti at gmail.com
Tue Jan 10 23:26:32 EST 2017


Okay, this is clear now. Since the headers in lcb98cor.dat is written in
small letters and Johnson's bands are usually written in capital I was
somewhat confused.

Thank you.

On Tue, Jan 10, 2017 at 11:05 PM, Robert Farmer <rjfarmer at asu.edu> wrote:

> Hi
> So the following assumes your using 8845:
>
> MESA currently only ships with a set a Johnson filter bands from
> Lejeune, Cuisinier, Buser (1998) A&AS 130, 65-75. If you look in the
> star_job.defaults you'll find in the color section
>
>          color_num_files=1
>          color_file_names(1)='lcb98cor.dat'
>          color_num_colors(1)=11
>
> The file lcb98cor.dat is in $MESA_DIR/data/colors_data.
>
> To use this then leave the star_job alone (as by default we use the
> lcb98cor.dat file) and go to your history_columns.list file, where there
> are four options:
>
> bc filter
> abs_mag filter
> add_bc
> add_abs_mag
>
> bc options provide the bolometric corrections while the abs_mag give the
> absolute magnitude. The options add_bc and add_abs_mag will output the
> bc/abs_mags for all the filters specified in the files specified in
> color_file_names. The other two options bc filter and abs_mag filter allow
> you to specify which filter band passes you want outputting.
>
> So if you look in the lcb98cor.dat file you'll see the header is Teff logg
> met then its v b u  r  i  k  h  j  l lprime  m. So if you wanted the
> bolometric corrections for the v, b and u bands only you would add to your
> history file
>
> bc v
> bc b
> bc u
>
> To select only those band passes, and similarly for the absolute
> magnitudes it would be:
> abs_mag v
> abs_mag b
> abs_mag u
>
> Now to add the hubble band passes. You can give MESA your own bolometric
> correction file with the hubble values in and MESA will use that instead.
>
> The first 3 columns of this file must be theTemp, log g and metalicitiy
> (they do not need to be in any kind of sorted order) and the rest of the
> columns are the bolometric corrections for each band pass you are
> interested in. Note you need to name each band pass uniquely, so the header
> might look this:
>
> #teff logg met F122M F160BW
>
> Then fill in the columns with the relevant values.
>
> Then put this file in your working directory and add this to your star_job
> inlist
>
>          color_num_files=1
>          color_file_names(1)='your_hubble_filename'
>          color_num_colors(1)=number_of_filters_in_file
>
> And add to you history file either add_bc or add_abs_mag to get all of
> them or add
>
> bc F122M (from my example but add in whatever you put in the header)
>
> In principle you could load multiple files of bolometric corrections up,
> but there is a bug in 8845 so you should only use one file.
>
> Rob
>
>
>
>
> On Tue, Jan 10, 2017 at 1:38 AM, Sanskriti Das <dassanskriti at gmail.com>
> wrote:
>
>> Hello,
>>
>> MESA turns out to calculate and store color in different formats (I found
>> four different commands for that) but it is not clear which command does
>> exactly what. The bands/filters in which it is calculating the colors is
>> not clear. Is it the HST filters or anything else? Can anyone please tell
>> the details for that? It would be very helpful then.
>>
>> Thank you.
>>
>> Regards,
>> Sanskriti
>> MSc 2nd Year, IIT Bombay
>> Project student at DAA, TIFR, Mumbai
>>
>> ------------------------------------------------------------
>> ------------------
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today. http://sdm.link/xeonphi
>> _______________________________________________
>> 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/20170111/03b3c987/attachment.html>


More information about the Mesa-users mailing list