nansencenter / DAPPER

Data Assimilation with Python: a Package for Experimental Research
https://nansencenter.github.io/DAPPER
MIT License
342 stars 119 forks source link

Make superclasses for the filter, smoother, and iterative smoother #33

Open patnr opened 3 years ago

patnr commented 3 years ago

OOP and inheritance is a tantalizing prospect for organizing methods. Would it require big changes? Would it be worth it?

yumengch commented 3 years ago

Is it related to issue #19 ?

patnr commented 3 years ago

Well, I had this idea before #19 but I did learn from #19 about abstract classes.

However, this issue needs a lot of reflection. It might cause large changes, and I'm really not sure if it's worth it. I will classify it for v3.