/tomo/pyhst

To get this branch, use:
bzr branch http://darksoft.org/webbzr/tomo/pyhst

« back to all changes in this revision

Viewing changes to PyHST.py

  • Committer: Suren A. Chilingaryan
  • Date: 2013-06-14 15:30:33 UTC
  • Revision ID: csa@dside.dyndns.org-20130614153033-t9b56hr4jdkd3ul8
Placeholders for DFI implementation

Show diffs side-by-side

added added

removed removed

Lines of Context:
554
554
NO=0
555
555
YES=1
556
556
class Parameters:
 
557
    METHOD = "FBP"
 
558
    FFT_OVERSAMPLING_FACTOR = 2
 
559
    DFI_KERNEL_SIZE = 7
 
560
    DFI_KERNEL_POINTS = 1023
 
561
    
557
562
    RECONSTRUCT_FROM_SINOGRAMS=0
558
563
    NO_SINOGRAM_FILTERING=0
559
564
    DO_CCD_FILTER=0
736
741
        start_time = time.time()
737
742
        
738
743
        normalise = Numeric.array([1.0],"f")
739
 
        
 
744
 
740
745
        pyhst=PyHST_c.PyHST( logger, 1, name_out ,
 
746
                  Parameters.METHOD,
 
747
                  Parameters.FFT_OVERSAMPLING_FACTOR,
 
748
                  Parameters.DFI_KERNEL_SIZE,
 
749
                  Parameters.DFI_KERNEL_POINTS,
741
750
                  Parameters.OVERSAMPLING_FACTOR,
742
751
                  Parameters.START_VOXEL_1-1 +1,
743
752
                  Parameters.START_VOXEL_2-1 +1,
985
994
  pyhst=PyHST_c.PyHST(logger,
986
995
                  Parameters.nslices_atonce, 
987
996
                  Parameters.OUTPUT_FILE ,
 
997
                  Parameters.METHOD,
 
998
                  Parameters.FFT_OVERSAMPLING_FACTOR,
 
999
                  Parameters.DFI_KERNEL_SIZE,
 
1000
                  Parameters.DFI_KERNEL_POINTS,
988
1001
                  Parameters.OVERSAMPLING_FACTOR,
989
1002
                  Parameters.START_VOXEL_1 -1 +1,
990
1003
                  Parameters.START_VOXEL_2 -1 +1,