openmicroanalysis / pyxray

Definitions and properties of X-ray transitions
MIT License
6 stars 4 forks source link

Remove preferred reference #24

Closed ppinard closed 3 years ago

ppinard commented 3 years ago

The preferred reference concept was only working for some functions and never set by default. This PR removes methods to set/clear preferred references and implements the simpler rule that the value for the newest reference (by year) is returned if there is more than one references.

An issue was created to add capability to return values of all references (#23).