mattwthompson / scattering

Functions for analyzing molecular simulations according to scattering experiments
MIT License
9 stars 9 forks source link

Better storage of partial VHFs #16

Open mattwthompson opened 4 years ago

mattwthompson commented 4 years ago

There is inherent value in analyzing the partial VHFs (which interaction makes this peak?) but it can also be useful for debugging, i.e. hunting down the source of wonky normalization.

My first idea is storing a tuple of the elemental pairs and the partial VHF as key, val pairs in a dictionary. This would be fairly lightweight and accessing form factors, atomic concentrations, etc. should be simple enough lookups.