Changeset 7e8601f in sasview for sansrealspace/src/realspace


Ignore:
Timestamp:
Dec 31, 2009 6:24:05 PM (15 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:
6ef7ac5a
Parents:
112f54c
Message:

RealSpaceTopLayer?: added method to get P(r) data

File:
1 edited

Legend:

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

    rab6098f r7e8601f  
    695695        pointsmodelpy.outputPR(self.complex_model, filename) 
    696696      
     697    def getPrData(self): 
     698        """ 
     699            Write P(r) to an output file 
     700            @param filename: file name for P(r) output 
     701        """    
     702        if self.hasPr == False: 
     703            self.getPr() 
     704      
     705        return pointsmodelpy.get_pr(self.complex_model) 
     706      
    697707    def getIq(self, q): 
    698708        """ 
Note: See TracChangeset for help on using the changeset viewer.