Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 3
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)
Exemplo n.º 4
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)
Exemplo n.º 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,
                         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)
Exemplo n.º 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)
Exemplo n.º 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)