Changeset 5323490 in sasview for src/sas/sasgui


Ignore:
Timestamp:
Oct 4, 2018 7:46:22 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
0686fd26, 373e81b, 23ff8d5
Parents:
cfb7cd6
git-author:
Paul Kienzle <pkienzle@…> (10/04/18 07:46:22)
git-committer:
Piotr Rozyczko <piotr.rozyczko@…> (10/04/18 07:46:22)
Message:

remove e-06 from default magnetism values. Refs #1004 (#188)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    ra4a1ac9 r5323490  
    28842884            self.magnetic_on = True 
    28852885            button.SetLabel("Magnetic OFF") 
    2886             m_value = 1.0e-06 
     2886            m_value = 1 
    28872887            for key in self.model.magnetic_params: 
    28882888                if key.count('M0') > 0: 
    28892889                    self.model.setParam(key, m_value) 
    2890                     m_value += 0.5e-06 
     2890                    m_value += 0.5 
    28912891        else: 
    28922892            self.magnetic_on = False 
Note: See TracChangeset for help on using the changeset viewer.