Commit 6281c265 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

add free_mem to C10_Catalog.py

parent a3c2766c
Pipeline #7397 failed with stage
in 0 seconds
...@@ -499,6 +499,10 @@ class Catalog(CatalogBase): ...@@ -499,6 +499,10 @@ class Catalog(CatalogBase):
else: else:
print("number of objects in catalog: ", len(self.objs)) 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): def load_sed(self, obj, **kwargs):
if obj.type == 'star': if obj.type == 'star':
# _, wave, flux = tag_sed( # _, wave, flux = tag_sed(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment