Esempio n. 1
0
    def OnRunHKLs(self, evt):
        """Select HKLs to use for indexing"""
        exp = wx.GetApp().ws
        hkls_dlg = HklsDlg(self, wx.NewId(), exp.activeMaterial)

        if hkls_dlg.ShowModal() == wx.ID_OK:
            exp.activeMaterial.planeData.exclusions = hkls_dlg.getExclusions()
            pass

        return
Esempio n. 2
0
    def OnRunHKLs(self, evt):
        """Select HKLs to use for indexing"""
        exp = wx.GetApp().ws
        hkls_dlg = HklsDlg(self, wx.NewId(), exp.activeMaterial)

        if hkls_dlg.ShowModal() == wx.ID_OK:
            exp.activeMaterial.planeData.exclusions = hkls_dlg.getExclusions()
            pass

        return
Esempio n. 3
0
    def OnRunHKLs(self, evt):
        """Select HKLs to use for indexing"""
        exp = wx.GetApp().ws
        iopts = exp.index_opts
        pd = exp.activeMaterial.planeData

        hkls_dlg = HklsDlg(self, wx.NewId(), exp.activeMaterial)

        if hkls_dlg.ShowModal() == wx.ID_OK:
            # pd.exclusions = hkls_dlg.getExclusions()
            iopts.fsHKLs = hkls_dlg.getTuples()
            print 'hkls: ', iopts.fsHKLs

        return
Esempio n. 4
0
    def OnRunHKLs(self, evt):
        """Select HKLs to use for indexing"""
        exp = wx.GetApp().ws
        iopts = exp.index_opts
        pd = exp.activeMaterial.planeData

        hkls_dlg = HklsDlg(self, wx.NewId(), exp.activeMaterial)

        if hkls_dlg.ShowModal() == wx.ID_OK:
            # pd.exclusions = hkls_dlg.getExclusions()
            iopts.fsHKLs = hkls_dlg.getTuples()
            print 'hkls: ', iopts.fsHKLs

        return