magneticScattering.scatter.Scatter#

class Scatter(beam, sample, geometry)#

Bases: object

Initializes the Scatter class and calculates the scattering pattern.

Attributes:
beamBeam

The properties of the beam.

sampleSample

The sample being measured.

geometryGeometry

The geometry of the experiment.

Methods

change_tracker

Listens for any changes in any of the classes so that the scattering can be re-calculated.

run

Calculates the scattering pattern.

Attributes

angular_extent

The solid angle that the scattering pattern occupies.

extent

The real space occupied by the scattering pattern.

roi

Region of interest for calculating the scattering pattern.

roi_angular_extent

Solid angle that the selected region of interest occupies.

roi_shape

Shape of the region of interest.

property angular_extent#

The solid angle that the scattering pattern occupies.

change_tracker(name)#

Listens for any changes in any of the classes so that the scattering can be re-calculated.

property extent#

The real space occupied by the scattering pattern.

property roi#

Region of interest for calculating the scattering pattern.

property roi_angular_extent#

Solid angle that the selected region of interest occupies.

property roi_shape#

Shape of the region of interest.

run()#

Calculates the scattering pattern.