In [ ]:
import os
import json
In [ ]:
from emva1288 import process
In [ ]:
dir_ = '/home/fede/workspace/datasets1288'
fname = 'EMVA1288_ReferenceSet_003_Simulation_12Bit/EMVA1288_Data.txt'
In [ ]:
parser = process.ParseEmvaDescriptorFile(os.path.join(dir_, fname))
In [ ]:
parser.images
In [ ]:
imgs = process.LoadImageData(parser.images)
In [ ]:
imgs.data
In [ ]:
dat = process.Data1288(imgs.data)
In [ ]:
dat.data
In [ ]:
res = process.Results1288(dat.data)
In [ ]:
res.QE
In [ ]:
res.print_results()
In [ ]:
plot = process.Plotting1288(res)
plot.plot()
In [ ]: