You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code suggests that iad.epoch_data is expected to be a pandas.DataFrame, hence the column is a series, hence the attribute 'values' makes sense. However, using the code in different notebooks showed that the considered object may be an astropy.table in which case the attritube got to be 'value'. A check of the type of iad.epoch_data at least at this point of the code would therefore be reasonable.
The text was updated successfully, but these errors were encountered:
On line 733 in gaia_astrometry.py there is currently the following code:
ppm_signal_mas = orbit.ppm(iad.epoch_data['MJD'].values, psi_deg=np.rad2deg(
np.arctan2(iad.epoch_data['spsi_obs'], iad.epoch_data['cpsi_obs'])),
offsetRA_mas=attribute_dict['offset_alphastar_mas'], offsetDE_mas=attribute_dict['offset_delta_mas'],
externalParallaxFactors=iad.epoch_data['ppfact_obs'], verbose=True)
The code suggests that iad.epoch_data is expected to be a pandas.DataFrame, hence the column is a series, hence the attribute 'values' makes sense. However, using the code in different notebooks showed that the considered object may be an astropy.table in which case the attritube got to be 'value'. A check of the type of iad.epoch_data at least at this point of the code would therefore be reasonable.
The text was updated successfully, but these errors were encountered: