@classmethod<EOL><INDENT>def load_hdf(cls, filename, path='<STR_LIT>', ic=None):<DEDENT>
store = pd.HDFStore(filename)<EOL>try:<EOL><INDENT>samples = store[path+'<STR_LIT>']<EOL>attrs = store.get_storer(path+'<STR_LIT>').attrs<EOL><DEDENT>except:<EOL><INDENT>store.close()<EOL>raise<EOL><DEDENT>df = store[path+'<STR_LIT>']<EOL>new = cls.from_df(df)<EOL>if ic is None:<EOL><INDENT>ic = get_ichrone('<STR_LIT>')<EOL><DEDENT>new.define_models(ic, N=attrs.N, index=attrs.index)<EOL>new.spectroscopy = attrs.spectroscopy<EOL>new.parallax = attrs.parallax<EOL>store.close()<EOL>return new<EOL>
Loads stored ObservationTree from file.

You can provide the isochrone to use; or it will default to MIST

TODO: saving and loading must be fixed!  save ic type, bands, etc.