slit_length_calculator

sans.calculator.slit_length_calculator

This module is a small tool to allow user to quickly determine the slit length value of data.

class sans.calculator.slit_length_calculator.SlitlengthCalculator

Bases: object

compute slit length from SAXSess beam profile (1st col. Q , 2nd col. I , and 3rd col. dI.: don’t need the 3rd)

__class__

alias of type

__delattr__

x.__delattr__(‘name’) <==> del x.name

__dict__ = <dictproxy object at 0x0226C6F0>
__getattribute__

x.__getattribute__(‘name’) <==> x.name

__hash__

x.__hash__() <==> hash(x)

__init__()
__module__ = 'sans.calculator.slit_length_calculator'
static __new__(S, ...) → a new object with type S, a subtype of T
__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

x.__repr__() <==> repr(x)

__setattr__

x.__setattr__(‘name’, value) <==> x.name = value

__str__

x.__str__() <==> str(x)

__weakref__

list of weak references to the object (if defined)

calculate_slit_length()

Calculate slit length.

Returns:the slit length calculated value.
get_slit_length_unit()
Returns:the slit length unit.
set_data()
Receive two vector x, y and prepare the slit calculator for
computation.
Parameters:
  • x – array
  • y – array

Table Of Contents

Previous topic

resolution_calculator

This Page