wesleybowman / UTide

Python distribution of the MatLab package UTide
MIT License
126 stars 64 forks source link

Order constit #96

Closed efiring closed 3 years ago

efiring commented 3 years ago

This adds constituent ordering options to solve. Closes #91.

I'm not sure about the strings accepted by the new kwarg, "order_constit"; it might be better to use "PE" in place of "energy" to match the use of that abbreviation elsewhere. Apart from that, I think this is ready for use, or close to it.

Update: I changed the name to "PE". Now there are arrays "PE" and "SNR" alongside the calculated amp, phase, etc. arrays in the structure returned by solve, and the corresponding sorting options have the same names (now upper case).