-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
These objects contain the most important information, and should as far as possible be possible to save the state of them.
Basic idea: Make everything a dict of str, int, float, bool, and dump to JSON, human-readable thingies first.
Astropy.quantities can be saved by doing a Q.value.dumps() (should be loaded by numpy into anarray when read). This would go in a dict together with the unit.to_string(), which can then be reconstructed with u.Unit(unitstring).
Should be possible and would be super useful, but would take a while to write.