dyna package

Subpackages

Submodules

dyna.Dyna module

dyna.ExperimentClass module

ExperimentClass

class dyna.ExperimentClass.Experiment[source]

Bases: object

a simulation (“sim”) is an instance of this class, it creates the attributes with memory allocations to the calculations

Methods:

Alloc

Attributes :

Formalism polarizations Pol_in_state Pol_out_state Pol_in Pol_out Data DataWeight DataName Energy Angle FixQ EffXIntervall SampleLength BeamThickness CalcNorm CalcBkg CalcXShift DataNorm DataBkg DataXShift Mag_or_Pol_InvertedToggle LinLogToggle XRange AngleRangeRad EnergyRange RefCalc RefPost TransCalc TransPost RefCalcPhi RefPostPhi TransCalcPhi TransPostPhi Imprint

Alloc(_OptimFlag) None[source]

Memory allocation used in calculations + calculates sc. factors Defining Angle and Energy ranges, array size depends on formalisms values depend on data or from GUI sim.EnergyRange and sim.AngleRange are determined by GUI or data Data are usualy as column x, y so format for calculations are the same

SetPolFunc(_Pol_index)[source]

dyna.LayerClass module

LayerClass Created on Tue Jan 19 10:10:47 2021

@author: stephane

class dyna.LayerClass.Layer[source]

Bases: object

Sample is an instance of this class, stores every layers’ parameters and values [min, current, max]

NameValues()[source]
Notes = ' '
TakeValues(_v)[source]

dyna.config module

dyna.constants module

Created on Wed Oct 23 18:38:12 2024

@author: stephane.grenier

Module contents

Created on Thu Mar 17 14:36:18 2022

@author: stephane.grenier@neel.cnrs.fr

dyna.doc_str()[source]
dyna.module_info()[source]
dyna.version_info()[source]