rubendegroote / Networked-Data-Acquisition

Python code for network-based data acquisition for laser spectroscopy
0 stars 0 forks source link

Isotope saving #4

Closed woutergins closed 9 years ago

woutergins commented 9 years ago

Each scan should specify which isotope it contains. Since the format is already saved as an attribute/hashmap, maybe save the isotope the same way?

rubendegroote commented 9 years ago

Some brainstorming on this.

When starting a scan, an isotope number is asked. This gets sent to the manager along with the usual scan properties. The Artist adds this to a dict with scan numbers as keys and masses as the values. This dict is indeed saved as an attribute in the datafile. The isotope dict is also sent to the dataserver so it can add it to the aggregated data files. The manager also puts the mass in the logbook, so it gets added to all viewers.

rubendegroote commented 9 years ago

Done.