def setup_class(self) -> None: self.limit = 1e-10 self.test_dir = os.path.dirname(__file__) + '/' create_star_data(self.test_dir + 'star') create_waffle_data(self.test_dir + 'waffle') create_config(self.test_dir + 'PynPoint_config.ini') self.pipeline = Pypeline(self.test_dir, self.test_dir, self.test_dir)
def setup_class(self) -> None: self.test_dir = os.path.dirname(__file__) + '/' create_star_data(path=self.test_dir+'dither', npix_x=100, npix_y=100, x0=[25, 75, 75, 25], y0=[75, 75, 25, 25], parang_start=[0., 25., 50., 75.], parang_end=[25., 50., 75., 100.], exp_no=[1, 2, 3, 4]) create_star_data(path=self.test_dir+'star_odd', npix_x=101, npix_y=101, x0=[50], y0=[50], parang_start=[0.], parang_end=[25.], exp_no=[1], noise=False) create_star_data(path=self.test_dir+'star_even', npix_x=100, npix_y=100, x0=[49.5], y0=[49.5], parang_start=[0.], parang_end=[25.], exp_no=[1], noise=False) create_waffle_data(path=self.test_dir+'waffle_odd', npix=101, x_spot=[20., 20., 80., 80.], y_spot=[20., 80., 80., 20.]) create_waffle_data(path=self.test_dir+'waffle_even', npix=100, x_spot=[20., 20., 79., 79.], y_spot=[20., 79., 79., 20.]) create_config(self.test_dir+'PynPoint_config.ini') self.pipeline = Pypeline(self.test_dir, self.test_dir, self.test_dir)
def setup_class(self): self.test_dir = os.path.dirname(__file__) + "/" create_star_data(path=self.test_dir+"dither", npix_x=100, npix_y=100, x0=[25, 75, 75, 25], y0=[75, 75, 25, 25], parang_start=[0., 25., 50., 75.], parang_end=[25., 50., 75., 100.], exp_no=[1, 2, 3, 4]) create_star_data(path=self.test_dir+"star_odd", npix_x=101, npix_y=101, x0=[50], y0=[50], parang_start=[0.], parang_end=[25.], exp_no=[1], noise=False) create_star_data(path=self.test_dir+"star_even", npix_x=100, npix_y=100, x0=[49.5], y0=[49.5], parang_start=[0.], parang_end=[25.], exp_no=[1], noise=False) create_waffle_data(path=self.test_dir+"waffle_odd", npix=101, x_waffle=[20., 20., 80., 80.], y_waffle=[20., 80., 80., 20.]) create_waffle_data(path=self.test_dir+"waffle_even", npix=100, x_waffle=[20., 20., 79., 79.], y_waffle=[20., 79., 79., 20.]) create_config(self.test_dir+"PynPoint_config.ini") self.pipeline = Pypeline(self.test_dir, self.test_dir, self.test_dir)