Commit 8822ad7f authored by paulphilipp.meyer's avatar paulphilipp.meyer
Browse files

added detector asiray timepix as tp, flipud ccd

parent 1eebe3f8
Pipeline #154158 passed with stage
in 1 minute and 38 seconds
......@@ -63,18 +63,20 @@ switch lower(detectorName)
result = @(fileName) (fliplr(single(imread(fileName))));
case 'iris'
result = @(fileName) (rot90(single(imread_itex(fileName)),2));
case 'zyla'
result = @(fileName) (fliplr(flipud(single(imread(fileName)))));
case 'pco'
case 'zyla' % andor zyla
result = @(fileName) (fliplr(flipud(single(imread(fileName)))));
case 'pco' % pco2000
result = @(fileName) (single(imread(fileName)));
case 'timepix'
if (nargin > 1)
result = @(fileName) (rot90(single(imread_timepix(fileName, settings))));
result = @(fileName) (rot90(single(imread_timepix(fileName))));
result = @(fileName) (rot90(single(imread_timepix(fileName)), 3));
case 'ccd'
result = @(fileName) (imread_ccd(fileName));
result = @(fileName) (flipud(imread_ccd(fileName)));
case 'tp' % timepix from sandy, controlled by asiray
result = @(fileName) (fliplr(rot90(single(imread(fileName)))));
error(sprintf('detector %s not recognized', detectorName));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment