Skip to content
Snippets Groups Projects
Commit 9a6a8e3f authored by Chris Pankow's avatar Chris Pankow
Browse files

epparts.py: Comment out broken code

parent fe779635
No related branches found
No related tags found
No related merge requests found
......@@ -236,6 +236,9 @@ class EPHandler( Handler ):
return
# TODO: Move this to PSD difference checker
# FIXME: This code no longer works since the timestamp doesn't
# appear in the structure anymore -- don't know why
"""
if message.structure.get_name() == "spectrum":
# FIXME: Units
ts = message.structure[ "timestamp" ]*1e-9
......@@ -245,6 +248,7 @@ class EPHandler( Handler ):
elif self.cache_psd is not None and self.cache_psd + self.last_psd_cache < ts:
self.dump_psd( ts, self.cache_psd_dir )
self.last_psd_cache = ts
"""
def dump_psd( self, timestamp, psddir="./" ):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment