pc494 / pyxem

This is pc494's fork of pyxem.
GNU General Public License v3.0
1 stars 2 forks source link

Clarity in get_library_entry method of DiffractionLibrary #31

Closed pc494 closed 6 years ago

pc494 commented 6 years ago

Currently using the method with only an angle gives you a random phase random angle answer, this isn't ideal.

get_library_entry(angle=(0,0,0))

should throw an error, requesting the user specify a phase, ie -

get_library_entry(phase=('Si'),angle=(0,0,0))

pc494 commented 6 years ago

299 closes this.