mcsas.dataobj.sasdata module

Represents data associated with a measurement by small angle scattering (SAS). Some examples and tests.

>>> import numpy
>>> testdata = numpy.random.rand(4,4)
>>> testtitle = "some title"
>>> from sasdata import SASData

Testing >>> first = SASData(testtitle, testdata) >>> first.title == testtitle True >>> numpy.all(first.rawArray == testdata) True

class SASData(**kwargs)[source]

Bases: dataobj.dataobj.DataObj

Represents one set of data from a unique source (a file, for example).

configType
count
dataContent

shows the content of the loaded data: Q, I, IErr, etc

classmethod displayData()[source]

Warning

method ‘dataobj.sasdata.SASData.displayData’ undocumented

classmethod displayDataDescr()[source]

Warning

method ‘dataobj.sasdata.SASData.displayDataDescr’ undocumented

modelType
p

Q-Vector at which the intensities are measured. Provided for convenience use within models.

pLimsString

Properly formatted q-limits for UI label text.

q

Q-Vector at which the intensities are measured. Provided for convenience use within models.

qLimsString

Properly formatted q-limits for UI label text.

rUnit
shannonChannelEst()[source]

Warning

method ‘dataobj.sasdata.SASData.shannonChannelEst’ undocumented

shannonChannelEstText
classmethod sourceName()[source]

The type of data source for UI label text.

sphericalSizeEst()[source]

Warning

method ‘dataobj.sasdata.SASData.sphericalSizeEst’ undocumented

sphericalSizeEstText
updateConfig()[source]

Warning

method ‘dataobj.sasdata.SASData.updateConfig’ undocumented

classproperty(func)

Warning

function ‘dataobj.sasdata.classproperty’ undocumented