tomopy/tomopy

View on GitHub

Showing 176 of 354 total issues

Function astra has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

def astra(tomo, center, recon, theta, **kwargs):
Severity: Minor
Found in source/tomopy/recon/wrappers.py - About 35 mins to fix

    Function lprec has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def lprec(tomo, center, recon, theta, **kwargs):
    Severity: Minor
    Found in source/tomopy/recon/wrappers.py - About 35 mins to fix

      Function _calculate_metric has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def _calculate_metric(shift_col, sino1, sino2, sino3, mask):
      Severity: Minor
      Found in source/tomopy/recon/rotation.py - About 35 mins to fix

        Function ifft2 has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def ifft2(x, s=None, axes=(-2,-1), overwrite_input=False, extra_info=None):
        Severity: Minor
        Found in source/tomopy/util/misc.py - About 35 mins to fix

          Function c_art has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def c_art(tomo, center, recon, theta, **kwargs):
          Severity: Minor
          Found in source/tomopy/util/extern/recon.py - About 35 mins to fix

            Function remove_stripe_ti has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

            def remove_stripe_ti(tomo, nblock=0, alpha=1.5, ncore=None, nchunk=None):
            Severity: Minor
            Found in source/tomopy/prep/stripe.py - About 35 mins to fix

              Function detector_drift_adjust_aps_1id has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def detector_drift_adjust_aps_1id(imgstacks,
              Severity: Minor
              Found in source/tomopy/prep/alignment.py - About 35 mins to fix

                Function fft has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    def fft(x, n=None, axis=-1, overwrite_input=False, extra_info=None):
                Severity: Minor
                Found in source/tomopy/util/misc.py - About 35 mins to fix

                  Function c_bart has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  def c_bart(tomo, center, recon, theta, **kwargs):
                  Severity: Minor
                  Found in source/tomopy/util/extern/recon.py - About 35 mins to fix

                    Function _remove_stripe_based_interpolation has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def _remove_stripe_based_interpolation(tomo, snr, size, drop_ratio, norm):
                    Severity: Minor
                    Found in source/tomopy/prep/stripe.py - About 35 mins to fix

                      Function c_ospml_quad has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      def c_ospml_quad(tomo, center, recon, theta, **kwargs):
                      Severity: Minor
                      Found in source/tomopy/util/extern/recon.py - About 35 mins to fix

                        Function _rs_dead has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        def _rs_dead(sinogram, snr, size, matindex, norm=True):
                        Severity: Minor
                        Found in source/tomopy/prep/stripe.py - About 35 mins to fix

                          Function distortion_correction_sino has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          def distortion_correction_sino(tomo, ind, xcenter, ycenter, list_fact):
                          Severity: Minor
                          Found in source/tomopy/prep/alignment.py - About 35 mins to fix

                            Function c_sirt has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            def c_sirt(tomo, center, recon, theta, **kwargs):
                            Severity: Minor
                            Found in source/tomopy/util/extern/recon.py - About 35 mins to fix

                              Function c_osem has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                              def c_osem(tomo, center, recon, theta, **kwargs):
                              Severity: Minor
                              Found in source/tomopy/util/extern/recon.py - About 35 mins to fix

                                Function c_gridrec has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                def c_gridrec(tomo, center, recon, theta, **kwargs):
                                Severity: Minor
                                Found in source/tomopy/util/extern/gridrec.py - About 35 mins to fix

                                  Function _remove_large_stripe has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                  def _remove_large_stripe(tomo, snr, size, drop_ratio, norm):
                                  Severity: Minor
                                  Found in source/tomopy/prep/stripe.py - About 35 mins to fix

                                    Function _rs_interpolation has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    def _rs_interpolation(sinogram, snr, size, drop_ratio=0.1, norm=True):
                                    Severity: Minor
                                    Found in source/tomopy/prep/stripe.py - About 35 mins to fix

                                      Function circ_mask has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                      def circ_mask(arr, axis, ratio=1, val=0.0, ncore=None):
                                      Severity: Minor
                                      Found in source/tomopy/misc/corr.py - About 35 mins to fix

                                        Function c_pml_quad has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        def c_pml_quad(tomo, center, recon, theta, **kwargs):
                                        Severity: Minor
                                        Found in source/tomopy/util/extern/recon.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language