Example #1
0
    def test_batch_reduce(self):
        filename = os.path.join(self.path, "test_batch_reduction.xls")
        b = BatchReducer(filename,
                         data_folder=self.path,
                         verbose=False,
                         persistent=False)

        b.reduce(show=False)
Example #2
0
 def test_batch_spatz_reduce(self):
     filename = pjoin(self.pth, "test_batch_spatz_reduction.xls")
     b = BatchReducer(
         filename,
         data_folder=self.pth,
         verbose=False,
         persistent=False,
         prefix="SPZ",
     )
     b.reduce(show=False)
Example #3
0
    def test_batch_platypus_reduce(self):
        filename = pjoin(self.pth, "test_batch_reduction.xls")
        # warnings filter for pixel size
        with warnings.catch_warnings():
            warnings.simplefilter("ignore", RuntimeWarning)

            b = BatchReducer(filename,
                             data_folder=self.pth,
                             verbose=False,
                             persistent=False)
            b.reduce(show=False)
Example #4
0
    def test_batch_reduce_ipython(self):
        filename = os.path.join(self.path, "test_batch_reduction.xls")

        refnx.reduce.batchreduction._have_ipython = False
        b = BatchReducer(filename,
                         data_folder=self.path,
                         verbose=False,
                         persistent=False)
        b.reduce(show=False)

        refnx.reduce.batchreduction._have_ipython = True
        b = BatchReducer(filename,
                         data_folder=self.path,
                         verbose=False,
                         persistent=False)
        b.reduce(show=False)
Example #5
0
    def test_batch_reduce_ipython(self):
        filename = os.path.join(self.path, "test_batch_reduction.xls")

        refnx.reduce.batchreduction._have_ipython = False
        b = BatchReducer(filename, data_folder=self.path, verbose=False)
        b.reduce(show=False)

        refnx.reduce.batchreduction._have_ipython = True
        b = BatchReducer(filename, data_folder=self.path, verbose=False)
        b.reduce(show=False)
Example #6
0
    def test_batch_reduce_ipython(self):
        filename = pjoin(self.pth, "test_batch_reduction.xls")

        # warnings filter for pixel size
        with warnings.catch_warnings():
            warnings.simplefilter("ignore", RuntimeWarning)

            refnx.reduce.batchreduction._have_ipython = False
            b = BatchReducer(filename,
                             data_folder=self.pth,
                             verbose=False,
                             persistent=False)
            b.reduce(show=False)

            refnx.reduce.batchreduction._have_ipython = True
            b = BatchReducer(filename,
                             data_folder=self.pth,
                             verbose=False,
                             persistent=False)
            b.reduce(show=False)
Example #7
0
    def test_batch_reduce(self):
        filename = os.path.join(self.path, "test_batch_reduction.xls")
        b = BatchReducer(filename, data_folder=self.path, verbose=False)

        b.reduce(show=False)