Changeset ab6098f in sasview


Ignore:
Timestamp:
May 29, 2008 2:49:43 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:
6a8adb0
Parents:
b6972a0f
Message:

Added function to write P(r) to a file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansrealspace/src/realspace/VolumeCanvas.py

    r883a2ef rab6098f  
    685685            + self.params['background'] 
    686686                 
    687          
     687    def write_pr(self, filename): 
     688        """ 
     689            Write P(r) to an output file 
     690            @param filename: file name for P(r) output 
     691        """    
     692        if self.hasPr == False: 
     693            self.getPr() 
     694      
     695        pointsmodelpy.outputPR(self.complex_model, filename) 
     696      
    688697    def getIq(self, q): 
    689698        """ 
Note: See TracChangeset for help on using the changeset viewer.