-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsinglePeMinimalExample.xml
More file actions
57 lines (43 loc) · 2.35 KB
/
singlePeMinimalExample.xml
File metadata and controls
57 lines (43 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<container>
<properties url="classpath:/default/settings.properties" />
<property name="infile" value="file:src/main/resources/testDataFile.fits.gz" />
<property name="drsfile" value="file:src/main/resources/testDrsFile.drs.fits.gz" />
<property name="integralGainFile" value="classpath:/default/gain_sorted_20131127.csv" />
<property name="pixelDelayFile" value="classpath:/default/delays_lightpulser_20150217.csv" />
<property name="output" value="file:testoutfile.json" />
<property name="auxFolder" value="file:src/main/resources/aux/" />
<service id="gainService" class="fact.calibrationservice.SinglePulseGainCalibService" integralGainFile="${integralGainFile}" />
<service id="auxService" class="fact.auxservice.AuxFileService" auxFolder="${auxFolder}" />
<service id="calibService" class="fact.calibrationservice.ConstantCalibService" />
<!--In case you want to analyze .zfits files.-->
<!-- <stream id="fact" class="fact.io.zfits.ZFitsStream" url="${infile}"/> -->
<stream id="fact" class="fact.io.FITSStream" url="${infile}"/>
<process id="2" input="fact">
<!-- prevEventAndSkip: -->
<!-- PreviousEventInfo, Skip(no Data Trigger) -->
<include url="classpath:/default/data/prevEventAndSkip.xml" />
<!-- Output: Data -->
<!-- Calibration: -->
<!-- DrsCalibration, PatchJumpRemoval, RemoveSpikes,
DrsTimeCalibration, ArrayTimeCorrection, InterpolateBadPixel -->
<include url="classpath:/default/data/calibration.xml" />
<!-- Output: DataCalibrated -->
<!-- Single Pe Extraction -->
<fact.photonstream.SinglePulseExtraction
dataKey="DataCalibrated"
outputKey="PhotonArrivals"
/>
<!-- Data Time Series Reconstruction from Single Pe Data -->
<fact.photonstream.ConvertSinglePulses2Timeseries
singlePulsesKey="PhotonArrivals"
baseLineKey="PhotonArrivalsBaseLine"
timeSeriesKey="DataReconstructed"
/>
<!--<fact.ShowViewer key="DataCalibrated" />-->
<!--<fact.io.JSONWriter keys="${keysForOutput}"-->
<!--url="${output}"-->
<!--writeListOfItems="True"-->
<!--pixelSetsAsInt="True"-->
<!--/>-->
</process>
</container>