sxs-collaboration / sxs

Python code for manipulating data from the SXS collaboration
MIT License
26 stars 18 forks source link

Unify treatment of Modes objects #21

Open moble opened 4 years ago

moble commented 4 years ago

We now have spherical.Modes, scri.ModesTimeSeries, scri.AsymptoticBondiData, sxs.TimeSeries, and sxs.WaveformModes objects — with sporadic relationships between them. I'm thinking that scri.ModesTimeSeries should be moved to sxs, and inherit from both spherical.Modes and sxs.TimeSeries. Then, sxs.WaveformModes can inherit from the new sxs.ModesTimeSeries and WaveformMixin, while sxs.WaveformGrid can inherit from sxs.TimeSeries and WaveformMixin.