qzhu2017 / PyXtal

A code to generate atomic structure with symmetry
MIT License
234 stars 59 forks source link

Affine matrix transformations between Hall numbers? #233

Closed rees-c closed 9 months ago

rees-c commented 9 months ago

Hi, thank you for this great library. I was wondering if Pyxtal might already contain the matrix transformations from one Hall number to another within the same space group - I see that the transformations are stored as strings in pyxtal/database/HM_Full.csv. I have a use case where I need to convert lattices/fractional coordinates back and forth between the standard according to Volume A of International Tables for Crystallography and the Spglib standard.

Thanks!