next up previous contents
Next: Дизайн программы Up: The Sas Handbook Previous: Базовые формулы обработки данных   Contents

Используемые параметры

Для работы sas необходимы значения следующих параметров.

При первом запуске sas создается конфигурационный файл .sas, в который записываются все эти параметры. Конфигурационный файл находится в $HOMEC: под Windows). При последующих запусках sas необходимые параметры считываются из этого файла. Ниже приводится пример файла .sas.

// 
//   SAS configuration file
// 
//   The file "/home/solovjev/.sas" was automatically generated at 15/4/2003
//   To prevent incorrect SAS processing be careful to edit it!
// 
Constants
// hardware constants
{
kBeamRadius                  0.045	// beam radius [m]
kMarkerCollimator2Distance   0.726	// distance marker in floor - second collimator [m]
kMarkerSampleTableDistance   0.436	// distance marker in floor - sample table center [m]
kReactorChopperDistance      4.75	// distance reactor - chopper [m]
kReactorCollimator1Distance  5.28	// distance reactor - first collimator [m]
kReactorImpulseWidth         0.236	// width of reactor power impuls [ms]
kReactorLowerPower           100	// reactor power between impulses [kW]
kReactorMarkerDistance       18.442	// distance reactor - marker in floor [m]
kReactorMeanPower            1500	// mean reactor power [kW]
kReactorPeriod               207.5	// repetition period of reactor [ms]
}
Header
// sas will overwrite this part!!!
{
// old040143cn
kCollimator1Radius          0.02	// radius of 1-st collimator [m]
kCollimator2Radius          0.007	// radius of 2-nd collimator [m]
kDCC1Radius                 0	// radius of DCC1 [m] (not used yet)
kDCC2Radius                 0	// radius of DCC2 [m] (not used yet)
kReactorChopperDelay        6.145	// delay between reactor start and chopper [ms]
kReactorDetectorDistance    22.967	// distance reactor - detector [m]
kReactorSampleDistance      18.006	// distance reactor - sample [m]
kSampleTableSampleDistance  0	// distance center of sample table - sample [m]
kSampleThickness            0.1	// thickness of sample [cm]
}
Numbers
// integer constants, sas will overwrite this part!!!
{
kNumberOfChannels   256	// number of channels in spectrum
kNumberOfDetectors  8	// number of detector rings
}
Defaults
// defaults, change by options, don't edit!
{
kTimeOfDelay  1.81	// time of delay [ms]
}
Channels
// defaults, change by options, don't edit!
{
kChannelBegin  44	// begin channel for processing
kChannelEnd    200	// end channel for processing
}
Detectors
// YuMO detectors
{
DBD  DBD
// direct beam detector parameters
{
kReactorDetectorDistance   35.06	// distance reactor - detector [m]
kVanaduimDetectorDistance  35.76	// distance vanadium - detector [m] (calculated)
}
	
NEW  NEW
// "NEW" detector parameters
{
kAngle1                    360	// angle covered by ring 1
kAngle2                    360	// angle covered by ring 2
kAngle3                    360	// angle covered by ring 3
kAngle4                    360	// angle covered by ring 4
kAngle5                    360	// angle covered by ring 5
kAngle6                    360	// angle covered by ring 6
kAngle7                    360	// angle covered by ring 7
kAngle8                    360	// angle covered by ring 8
kDeadTime1                 0.002184	// ring 1 dead time [ms]
kDeadTime2                 0.002756	// ring 2 dead time [ms]
kDeadTime3                 0.003029	// ring 3 dead time [ms]
kDeadTime4                 0.002253	// ring 4 dead time [ms]
kDeadTime5                 0.005042	// ring 5 dead time [ms]
kDeadTime6                 0.00382	// ring 6 dead time [ms]
kDeadTime7                 0.00394	// ring 7 dead time [ms]
kDeadTime8                 0.004263	// ring 8 dead time [ms]
kHoleDiameter              0.08	// internal hole diameter [m]
kMultiplicationFactor      1.06	// multiplication factor for normalization
kRadius0                   0.065	// ring 1 inner radius [m]
kRadius1                   0.085	// ring 1 outer radius [m]
kRadius2                   0.106	// ring 2 outer radius [m]
kRadius3                   0.127	// ring 3 outer radius [m]
kRadius4                   0.148	// ring 4 outer radius [m]
kRadius5                   0.168	// ring 5 outer radius [m]
kRadius6                   0.19	// ring 6 outer radius [m]
kRadius7                   0.211	// ring 7 outer radius [m]
kRadius8                   0.232	// ring 8 outer radius [m]
kVanaduimDetectorDistance  1.065	// distance vanadium - detector [m]
kVanaduimThickness         0.294	// thickness of vanadium plate [cm]
kVanaduimTransmissionA     -0.0588	// vanadium transmission at 1 angstrom (par. A)
kVanaduimTransmissionB     -0.1111	// vanadium transmission at 1 angstrom (par. B)
}
	
OLD  OLD
// "OLD" detector parameters
{
kAngle1                    360	// angle covered by ring 1
kAngle2                    360	// angle covered by ring 2
kAngle3                    300	// angle covered by ring 3
kAngle4                    284	// angle covered by ring 4
kAngle5                    268	// angle covered by ring 5
kAngle6                    256	// angle covered by ring 6
kAngle7                    224	// angle covered by ring 7
kAngle8                    234.5	// angle covered by ring 8
kDeadTime1                 0.004621	// ring 1 dead time [ms]
kDeadTime2                 0.003546	// ring 2 dead time [ms]
kDeadTime3                 0.00414	// ring 3 dead time [ms]
kDeadTime4                 0.003874	// ring 4 dead time [ms]
kDeadTime5                 0.00377	// ring 5 dead time [ms]
kDeadTime6                 0.004604	// ring 6 dead time [ms]
kDeadTime7                 0.00432	// ring 7 dead time [ms]
kDeadTime8                 0.004641	// ring 8 dead time [ms]
kHoleDiameter              0.2	// internal hole diameter [m]
kMultiplicationFactor      1	// multiplication factor for normalization
kRadius0                   0.123	// ring 1 inner radius [m]
kRadius1                   0.153	// ring 1 outer radius [m]
kRadius2                   0.183	// ring 2 outer radius [m]
kRadius3                   0.213	// ring 3 outer radius [m]
kRadius4                   0.243	// ring 4 outer radius [m]
kRadius5                   0.274	// ring 5 outer radius [m]
kRadius6                   0.304	// ring 6 outer radius [m]
kRadius7                   0.334	// ring 7 outer radius [m]
kRadius8                   0.364	// ring 8 outer radius [m]
kVanaduimDetectorDistance  0.7	// distance vanadium - detector [m]
kVanaduimThickness         0.03	// thickness of vanadium plate [cm]
kVanaduimTransmissionA     -0.0057	// vanadium transmission at 1 angstrom (par. A)
kVanaduimTransmissionB     -0.1111	// vanadium transmission at 1 angstrom (par. B)
}
	
}



Alexei Soloviev 2008-09-14