UCL / STIR-GATE-Connection

Example files on how to run STIR on GATE data
16 stars 11 forks source link

EstimateSTIRGATENorm mistakenly adds 1s to the normalisation sinogram #63

Closed robbietuk closed 3 years ago

robbietuk commented 3 years ago

https://github.com/UCL/STIR-GATE-Connection/blob/5e4d71394cfffc270323895dc138344d5455305c/VoxelisedSimulation/SubScripts/EstimateGATESTIRNorm.sh#L86 This is an attempt at renaming the files from ${OutputFilename}"_span1.hs" to ${OutputFilename}".hs" because as no output template (for SSRB reformatting) has been specified, but is there a better way todo this in STIR? @KrisThielemans If I were to correct this in this form I would use

stir_math -s --including-first --add-scalar 0 ${OutputFilename} ${OutputFilename}"_span1.hs" 

@francescaleek If you use the *span1.hs sinogram, there wont be a problem otherwise there will may well be.