File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -482,6 +482,9 @@ def init_device(self) :
482482 if SystemHasFeature ('Core.CtSaving.EDFConcat' ):
483483 self .__SavingFormat ['EDFCONCAT' ] = Core .CtSaving .EDFConcat
484484 self .__SavingFormatDefaultSuffix [Core .CtSaving .EDFConcat ] = '.edf'
485+ if SystemHasFeature ('Core.CtSaving.EDFLZ4' ):
486+ self .__SavingFormat ['EDFLZ4' ] = Core .CtSaving .EDFLZ4
487+ self .__SavingFormatDefaultSuffix [Core .CtSaving .EDFLZ4 ] = '.edf.lz4'
485488
486489 self .__SavingMode = {'MANUAL' : Core .CtSaving .Manual ,
487490 'AUTO_FRAME' : Core .CtSaving .AutoFrame ,
Original file line number Diff line number Diff line change @@ -526,6 +526,8 @@ def DevCcdSetFilePar(self, par_arr):
526526 pars .fileFormat = Core .CtSaving .HDF5
527527 elif pars .suffix .lower ()[- 5 :] == '.tiff' :
528528 pars .fileFormat = Core .CtSaving .TIFFFormat
529+ elif pars .suffix .lower ()[- 8 :] == '.edf.lz4' :
530+ pars .fileFormat = Core .CtSaving .EDFLZ4
529531 else :
530532 pars .fileFormat = Core .CtSaving .RAW
531533 saving .setParameters (pars )
You can’t perform that action at this time.
0 commit comments