| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 
 | prefix = PREFIX + "/CRAYON/testsdata2_tot/"
FILE_PREFIX = prefix+"5.06_crayon_W150_60_Al2_W0.25_xc1000_"
NUM_FIRST_IMAGE = 0                      # No. of first projection file
NUM_LAST_IMAGE = 1499                    # 1499 No. of last projection file
NUMBER_LENGTH_VARIES = NO
LENGTH_OF_NUMERICAL_PART = 4             # No. of characters
FILE_POSTFIX = .edf
FILE_INTERVAL = 1                        # Interval between input files
NUM_IMAGE_1 = 2048 # Number of pixels horizontally
NUM_IMAGE_2 = 1000   # Number of pixels vertically
IMAGE_PIXEL_SIZE_1 = 5.060000 # Pixel size horizontally (microns)
IMAGE_PIXEL_SIZE_2 = 5.060000 # Pixel size vertically
SUBTRACT_BACKGROUND = YES # Subtract background from data
BACKGROUND_FILE = prefix+"dark.edf"
# Parameters defining flat-field treatment
CORRECT_FLATFIELD = YES          # Divide by flat-field image
FLATFIELD_CHANGING = YES         # Series of flat-field files
FLATFIELD_FILE = N.A.
FF_PREFIX = prefix+"refHST"
FF_NUM_FIRST_IMAGE = 0 # No. of first flat-field file
FF_NUM_LAST_IMAGE = 1500 # No. of last flat-field file
FF_NUMBER_LENGTH_VARIES = NO
FF_LENGTH_OF_NUMERICAL_PART = 4 # No. of characters
FF_POSTFIX = .edf
FF_FILE_INTERVAL = 1500 # Interval between flat-field files
TAKE_LOGARITHM = YES # Take log of projection values
# Parameters defining experiment
ANGLE_BETWEEN_PROJECTIONS = 0.120000 # Increment angle in degrees
ROTATION_VERTICAL = YES
ROTATION_AXIS_POSITION = 1024.285732 # Position in pixels
# Parameters defining reconstruction
OUTPUT_SINOGRAMS = NO # Output sinograms to files or not
START_VOXEL_1 =      1 # X-start of reconstruction volume
START_VOXEL_2 =      1 # Y-start of reconstruction volume
START_VOXEL_3 =   1 # Z-start of reconstruction volume
END_VOXEL_1 =   2048 # X-end of reconstruction volume
END_VOXEL_2 =   2048 # Y-end of reconstruction volume
END_VOXEL_3 =   1000 # Z-end of reconstruction volume
OVERSAMPLING_FACTOR = 4 # Oversampling factor : the to-be-backprojected data are oversampled.
                        # Then nearest neighbour approximation is used. When using GPU
                        # this parameter has no effect : linear interpolation is done at
			# the hardware level
ANGLE_OFFSET = 0.000000 # Reconstruction rotation offset angle in degrees
DO_CCD_FILTER = 0 # CCD filter (spikes)
# Setting this parameter to 1 activates a filtering on each projection. The treatement is applied after :
#      -background subtraction -division by the flat-field -double FF correction ... if these options are activated.
#            CCD_Filter: a median filter is applied on the 3X3 neighbour of every pixel. 
#  If the pixel value ( the higher the more photons) exceed the median value more then the threshold
#   parameter then the pixel value is replaced by the median value.
CCD_FILTER = "CCD_Filter"
CCD_FILTER_PARA = {"threshold": 0.040000 }
#     When this option is on (1) a filtering is applied to the sinogramme trying to remove ring artefacts. 
#  This options was previously named DO_SINO_FILTER in pyhst1. The old names for this option are still compatible.
#
DO_SINO_FILTER = 0 # Sinogram filter (rings)
SINO_FILTER = "SINO_Filter"
#   old option SINO_FILTER, now can be called "RING_FILTER" : in this case the sinogram is averaged over all the projections, then
#     a high-band pass filter is applied to the average and the result is subtracted from all the projections.
#    The details of the frequencies filtering are specified through variable RING_FILTER_PAR
#    More details on the manual : Ring Correction 
ar = numpy.ones(2048,'f')
ar[0]=0.0
# ar[2:18]=0.0
xx=numpy.arange(600-2)
ar[2:600]=1.0/(1+numpy.exp((15-xx)/5.0)   )
SINO_FILTER_PARA = {"FILTER": ar }
####
###  DO_AXIS_CORRECTION : When set to 1 ( or YES) this option activates the axis translation correction.
###    The first columns is the horizontal correction. The second , if present, the vertical correction.
###    The datas are the axis displacements. Positive value means positive displacement
###
DO_AXIS_CORRECTION = NO # Axis correction
AXIS_CORRECTION_FILE = correct.txt
OPTIONS= { 'padding':'E' , 'axis_to_the_center':'Y'} # Padding and position axis
FBFILTER=1
# # Parameters of DFI method
# DFI_OVERSAMPLING_RATE = 1
# DFI_KERNEL_SIZE = 7
# DFI_NOFVALUES = 2048
# DFI_R2C_MODE = NO
# Parameters for Paganin reconstruction
DO_PAGANIN = 1
PAGANIN_Lmicron = 247.790366 
PAGANIN_MARGE = 20 
# PAGANIN_MARGE = 600 
DO_OUTPUT_PAGANIN = 0
OUTPUT_PAGANIN_FILE = projes/paga_cufft_
PUS=0.0
PUC=0.0
UNSHARP_LoG=0
CURRENT_NAME=current
ZEROCLIPVALUE = 0.01 # Minimum value of radiographs after flat / before log
# Parameters defining output file / format
OUTPUT_FILE = vol.vol
DZPERPROJ=0
 |