Package ComboCode :: Package cc :: Package modeling :: Package codes :: Module Lime
[hide private]
[frames] | no frames]

Module Lime

source code

Preparing input for LIME.

Author: R. Lombaert

Functions [hide private]
 
prepInput(star, path, repl_str='')
Prepare inputfiles for LIME from a GASTRoNOoM and MCMax model.
source code
Variables [hide private]
  __package__ = 'ComboCode.cc.modeling.codes'
Function Details [hide private]

prepInput(star, path, repl_str='')

source code 

Prepare inputfiles for LIME from a GASTRoNOoM and MCMax model.

Input is taken from the model ouput and written into files. The output folder can be chosen. The model_id tag can be replaced with an arbitrary string.

Input is converted to SI units, except opacities, which are in cm2/g.

Parameters:
  • star (Star()) - The model object including the GASTRoNOoM and MCMax model ids.
  • path (str) - The target folder for the files.
  • repl_str (str) - Replacement string for the model_id tag.

    (default: '')