tomopy/tomopy

View on GitHub

Showing 176 of 354 total issues

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 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 trim_sinogram has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def trim_sinogram(data, center, x, y, diameter):
      Severity: Minor
      Found in source/tomopy/misc/morph.py - About 35 mins to fix

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

            def ifft(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_tikh has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def c_tikh(tomo, center, recon, theta, **kwargs):
          Severity: Minor
          Found in source/tomopy/util/extern/recon.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 _init_recon has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def _init_recon(shape, init_recon, val=1e-6, sharedmem=True, empty=False):
              Severity: Minor
              Found in source/tomopy/recon/algorithm.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 _remove_stripe_fw has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  def _remove_stripe_fw(tomo, level, wname, sigma, pad):
                  Severity: Minor
                  Found in source/tomopy/prep/stripe.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 ufo_fbp has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      def ufo_fbp(tomo, center, recon, theta, **kwargs):
                      Severity: Minor
                      Found in source/tomopy/recon/wrappers.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 fft2 has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              def fft2(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 _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 _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 gaussian_filter has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                def gaussian_filter(arr, sigma=3, order=0, axis=0, ncore=None):
                                Severity: Minor
                                Found in source/tomopy/misc/corr.py - About 35 mins to fix

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

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

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

                                    def c_tv(tomo, center, recon, theta, **kwargs):
                                    Severity: Minor
                                    Found in source/tomopy/util/extern/recon.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 probe_gauss has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        def probe_gauss(nx, ny, fwhm=None, center=None, max_int=1):
                                        Severity: Minor
                                        Found in source/tomopy/sim/propagate.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language