(cls, grp, obsfeat_fn)
return cls(obs_T_Do, obsfeat_T_Df, grp['adist_T_Pa'][...], grp['a_T_Da'][...], grp['r_T'][...])
obsfeat_fn: used to fill in observation features. if None, the raw observations will be copied over.
obsfeat_fn: used to fill in observation features. if None, the raw observations will be copied over.
obsfeat_fn : used to fill in observation features . if None the raw observations will be copied over .
def LoadH5(cls, grp, obsfeat_fn):
        '''
        obsfeat_fn: used to fill in observation features. if None, the raw observations will be copied over.
        '''
        obs_T_Do = grp['obs_T_Do'][...]
        obsfeat_T_Df = obsfeat_fn(obs_T_Do) if obsfeat_fn is not None else obs_T_Do.copy()
        return cls(obs_T_Do, obsfeat_T_Df, grp['adist_T_Pa'][...], grp['a_T_Da'][...], grp['r_T'][...])
def LoadH5 ( cls , grp , obsfeat_fn ) : obs_T_Do = grp [ 'obs_T_Do' ] [ ... ] obsfeat_T_Df = obsfeat_fn ( obs_T_Do ) if obsfeat_fn is not None else obs_T_Do . copy ( ) return cls ( obs_T_Do , obsfeat_T_Df , grp [ 'adist_T_Pa' ] [ ... ] , grp [ 'a_T_Da' ] [ ... ] , grp [ 'r_T' ] [ ... ] )