tomopy/tomopy

View on GitHub

Showing 176 of 354 total issues

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

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

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

    def _remove_all_stripe(tomo, snr, la_size, sm_size, dim):
    Severity: Minor
    Found in source/tomopy/prep/stripe.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 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

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

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

              def _calc_pad(tomo, pixel_size, dist, energy, pad):
              Severity: Minor
              Found in source/tomopy/prep/phase.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 output_images has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  def output_images(rec, fpath, format="jpeg", scale=1, ncol=1):
                  Severity: Minor
                  Found in source/tomopy/misc/benchmark.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 c_mlem has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

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

                            def remove_stripe_based_sorting(tomo,
                            Severity: Minor
                            Found in source/tomopy/prep/stripe.py - About 35 mins to fix

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

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

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