Changeset 3873fd2 in sasview


Ignore:
Timestamp:
May 26, 2009 8:40:18 PM (16 years ago)
Author:
Mathieu Doucet <doucetm@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
ee6f84c
Parents:
342114c
Message:

pr_inversion: add empty information dictionary to be used by applications to pass additional information to be carried by the Invertor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pr_inversion/invertor.py

    r6e0f53a r3873fd2  
    7979    ## Background value 
    8080    background = 0 
     81    ## Information dictionary for application use 
     82    info = {} 
    8183     
    8284     
     
    174176            Return a clone of this instance 
    175177        """ 
     178        import copy 
     179         
    176180        invertor = Invertor() 
    177181        invertor.chi2    = self.chi2  
     
    189193        invertor.slit_height = self.slit_height 
    190194        invertor.slit_width  = self.slit_width 
     195         
     196        invertor.info = copy.deepcopy(self.info) 
    191197         
    192198        return invertor 
Note: See TracChangeset for help on using the changeset viewer.