model_dist¶
- sofia_redux.calibration.standard_model.hawc_calibration.model_dist(target, caldata)[source]¶
Determine the distance to a target in a Herschel model.
Parses the herschel readme to get the distance of the object used in the Herschel model.
- Parameters:
- targetstr
Name of the target.
- caldatastr
Path to the calibration data.
- Returns:
- d_modelfloat
Distance to the target in AU.