@classmethod<EOL><INDENT>def from_ini(cls, ic, folder='<STR_LIT:.>', ini_file='<STR_LIT>'):<DEDENT>
if not os.path.isabs(ini_file):<EOL><INDENT>ini_file = os.path.join(folder,ini_file)<EOL><DEDENT>config = ConfigObj(ini_file)<EOL>kwargs = {}<EOL>for kw in config.keys():<EOL><INDENT>try:<EOL><INDENT>kwargs[kw] = float(config[kw])<EOL><DEDENT>except:<EOL><INDENT>kwargs[kw] = (float(config[kw][<NUM_LIT:0>]), float(config[kw][<NUM_LIT:1>]))<EOL><DEDENT><DEDENT>return cls(ic, **kwargs)<EOL>
Initialize a StarModel from a .ini file

File should contain all arguments with which to initialize
StarModel.