diff --git a/catalog/C10_Catalog.py b/catalog/C10_Catalog.py index 8bbebcb7ebcde5dea8677f4c143d29f92a431608..029add6e661829c092c127decaf644769dba9017 100644 --- a/catalog/C10_Catalog.py +++ b/catalog/C10_Catalog.py @@ -499,6 +499,10 @@ class Catalog(CatalogBase): else: print("number of objects in catalog: ", len(self.objs)) + def free_mem(self, **kward): + self.starDDL.freeGlobeData() + del self.starDLL + def load_sed(self, obj, **kwargs): if obj.type == 'star': # _, wave, flux = tag_sed(