Example #1
0
 def test_utils_plot_rbf_control_points_save_fig(self):
     params = pars.RBFParameters()
     params.read_parameters(
         filename='tests/test_datasets/parameters_rbf_cube.prm')
     ut.plot_rbf_control_points(params, save_fig=True)
     self.assertTrue(os.path.isfile('RBF_control_points.png'))
     os.remove('RBF_control_points.png')
Example #2
0
	def test_utils_plot_rbf_control_points_save_fig(self):
		params = pars.RBFParameters()
		params.read_parameters(
			filename='tests/test_datasets/parameters_rbf_cube.prm'
		)
		ut.plot_rbf_control_points(params, save_fig=True)
		self.assertTrue(os.path.isfile('RBF_control_points.png'))
		os.remove('RBF_control_points.png')
Example #3
0
	def test_utils_plot_rbf_control_points(self):
		params = pars.RBFParameters()
		params.read_parameters(
			filename='tests/test_datasets/parameters_rbf_cube.prm'
		)
		ut.plot_rbf_control_points(params, save_fig=False)
Example #4
0
 def test_utils_plot_rbf_control_points(self):
     params = pars.RBFParameters()
     params.read_parameters(
         filename='tests/test_datasets/parameters_rbf_cube.prm')
     ut.plot_rbf_control_points(params, save_fig=False)