diff --git a/example/sz.config b/example/sz.config index 0fd9977d..bcce2b56 100644 --- a/example/sz.config +++ b/example/sz.config @@ -12,8 +12,8 @@ dataEndianType = LITTLE_ENDIAN_DATA #SZ is the general version #SZ_Transpose is only used for 2D or 3D, it will transpose the datasets and then do the compression, because the data are assumed to be smoother on higher-dimension #Pastri (customized for GAMESS simulation) -#sol_name = SZ_Transpose sol_name = SZ +#sol_name = SZ_Transpose #====================================================================================================== @@ -21,9 +21,9 @@ sol_name = SZ #====================================================================================================== [PARAMETER] -snapshotCmprStep = 5 +#snapshotCmprStep = 5 -#withLinearRegression = NO +withLinearRegression = NO #sampleDistance determins the number of samples used to optimize the # quantization intervals #For example, sampleDistance=50 means 1/50=2% of data points are sample points. @@ -84,10 +84,11 @@ randomAccess = 0 #errorBoundMode: 8 options to control different types of error bounds (detailed can be found in the user guide) #ABS_AND_REL, ABS_OR_REL, ABS, REL (or VR_REL), PW_REL, ABS_AND_PW_REL, ABS_OR_PW_REL, REL_AND_PW_REL, REL_OR_PW_REL #errorBoundMode = ABS_AND_PW_REL -errorBoundMode = REL +#errorBoundMode = REL #errorBoundMode = PSNR #errorBoundMode = ABS #errorBoundMode = PW_REL +errorBoundMode = NORM #absolute Error Bound (NOTE: it's valid when errorBoundMode is related to ABS (i.e., absolute error bound) #absErrBound is to limit the (de)compression errors to be within an absolute error. For example, absErrBound=0.0001 means the decompressed value must be in [V-0.0001,V+0.0001], where V is the original true value. @@ -105,6 +106,9 @@ relBoundRatio = 1E-4 #psnr is to spesify the PSNR of the compression. It's valid only when errorBoundMode == PSNR psnr = 80 +#NORM2 Error: sqrt((x1-x1')^2+(x2-x2')^2+....+(xN-xN')^2) +normErr = 0.05 + #point-wise relative Bound Ratio (NOTE: only valid when errorBoundMode is related to PW_REL) #pw_relBountRatio is to limit the (de)compression errors by considering the point-wise original data values. #For example, suppose pw_relBoundRatio is set to 0.01, and the data set is {100,101,102,103,104,...,110}, so the compression errors will be limited to {1,1.01,1.02,....1.10} for the data points.