diff --git a/qpms/analysis.py b/qpms/analysis.py index b473f80..4d62660 100644 --- a/qpms/analysis.py +++ b/qpms/analysis.py @@ -49,7 +49,8 @@ class FiniteRectLatAnalysis: meta = data['meta'][()] scatter = 'symmetry_adapted' in meta.keys()# finiterectlat-constant-driving ; TODO unify if scatter: - thegroup = meta['symmetry_adapted'] + #thegroup = meta['symmetry_adapted'] # always D2h, this option does something else! + thegroup = 'D2h' else: # finiterectlat-modes thegroup = 'D2h' if meta['D2'] else 'D4h' Nx, Ny = meta['size'] @@ -110,11 +111,13 @@ class FiniteRectLatAnalysis: self.Nx, self.Ny, self.px, self.py = Nx, Ny, px, py self.posmap = posmap self.fullvec_poffsets = nelem * np.arange(Nx*Ny) + self.group = thegroup if scatter: self.typ = 'scatter' self.fvcs1_fromdata = data['fvcs1'] self.iris1_fromdata = data['iris1'] self.positions_fromdata = data['positions'] + self.driving_symmetry_adapted = data['symmetry_adapted'] else: # modes self.typ = 'modes' self.eigval = data['eigval']