Changes between Version 55 and Version 56 of StellarAtmospheres

Show
Ignore:
Timestamp:
08/03/17 01:08:44 (3 weeks ago)
Author:
peter
Comment:

add support for BPASS grids

Legend:

Unmodified
Added
Removed
Modified
  • StellarAtmospheres

    v55 v56  
    6262 
    6363The !PopStar grids are described in [http://cdsads.u-strasbg.fr/abs/2009MNRAS.398..451M Molla et al. (2009)]. 
     64 
     65== Installing BPASS grids == 
     66 
     67The BPASS (Binary Population and Spectral Synthesis) stellar population synthesis models are available [http://bpass.auckland.ac.nz/index.html here]. We support importing the v2.0 grids that can be downloaded [http://bpass.auckland.ac.nz/2.html here] under the header "SEDs". The grids are available as tarballs for several different choices of the initial mass function. The tarball contains grids assuming either an instantaneous starburst of 1e6 Msol, or continuous star formation of 1 Msol/yr lasting 1e6 years. Each of these grids has separate models for single-star and binary-star evolution. Grids are available for a range of metallicities ranging from Z=0.001 to 0.040. The first step is to download one or more of the tarballs from the BPASS website. Next you run the script [http://data.nublado.org/stars/convert_bpassv2.pl convert_bpassv2.pl] (make sure that the file has execute permission) as is shown below: 
     68 
     69{{{ 
     70<download bpassv2-imf135-100.tar.gz from BPASS website> 
     71<download convert_bpassv2.pl> 
     72chmod +x convert_bpassv2.pl 
     73tar xvfz bpassv2-imf135-100.tar.gz 
     74cd BPASSv2_imf135_100 
     75../convert_bpassv2.pl 
     76}}} 
     77 
     78Note that the last command has to process lots of data and will take several minutes to complete. It will create four very large ascii files: 
     79 
     80{{{ 
     81BPASSv2_imf135_100_burst_binary.ascii 
     82BPASSv2_imf135_100_burst_single.ascii 
     83BPASSv2_imf135_100_cont_binary.ascii 
     84BPASSv2_imf135_100_cont_single.ascii 
     85}}} 
     86 
     87Here "burst" refers to the single starburst models and "cont" to the continuous star formation models as outlined above. Furthermore, "single" refers to the single-star evolution models and "binary" to the binary-star evolution models. The ascii files can be converted into binary files in the usual manner by starting Cloudy and typing 
     88 
     89{{{ 
     90compile star "BPASSv2_imf135_100_burst_binary.ascii" 
     91}}} 
     92 
     93and similar for the other three files. After moving the binary files into the data directory, they can then be used in Cloudy. These are 2D grids allowing interpolation in age and metallicity. You can produce a mix of single and binary stars using e.g.: 
     94 
     95{{{ 
     96table star "BPASSv2_imf135_100_cont_single.mod" 2e8 -1.8 
     97intensity <xxx> 
     98table star "BPASSv2_imf135_100_cont_binary.mod" 2e8 -1.8 
     99intensity <yyy> 
     100}}} 
     101 
     102The code for calculating the grids is described in [http://adsabs.harvard.edu/abs/2009MNRAS.400.1019E Eldridge & Stanway (2006)]. 
    64103 
    65104== Installing your own grids ==