Dear Gitlab Users, for our upcoming upgrade to Gitlab v14, Gitlab will be unavailable on Thursday, 05.08.2021 from 5:00 pm to approximately 7:00 pm. Note that with v14, certain breaking changes will be introduced (https://about.gitlab.com/blog/2021/06/04/gitlab-moving-to-14-breaking-changes/).

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))));
else
result = @(fileName) (rot90(single(imread_timepix(fileName))));
result = @(fileName) (rot90(single(imread_timepix(fileName)), 3));
end
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)))));
otherwise
error(sprintf('detector %s not recognized', detectorName));
end
......
Markdown is supported
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