Function download_phoenix(int, double, double, double, const std::string)¶
Defined in File helper.h
Function Documentation¶
-
int download_phoenix(int t_eff, double log_g, double z, double alpha, const std::string path)
Downloads phoenix spectrum for given parameters.
- Parameters
t_eff – effective temperature [Kelvin]
log_g – surface gravity
z – overall metallicity
alpha – alpha element abundance
path – where to save the spectrum
- Returns
0 if download succeeded, CURLeCode otherwise