carputils
Doxygen code documentation for the python framework controlling openCARP
Functions
carputils.tests.test_leadfield Namespace Reference

Functions

def mock_isfile (monkeypatch)
 
def test_stim_count (cfg)
 
def test_electrode_indices_cover_all_stims (cfg)
 
def test_current_conservation (cfg)
 
def test_unknown_config_raises ()
 
def test_missing_vtx_raises (monkeypatch)
 
def test_run_opts_defaults ()
 
def test_run_opts_postproc_only ()
 
def test_run_opts_lf_dir_only_keeps_normal_experiment ()
 
def test_run_opts_all_args ()
 
def test_plot_ecg_writes_pngs (tmp_path)
 
def test_plot_ecg_empty_dir_raises (tmp_path)
 
def test_plot_ecg_handles_unreadable_file (tmp_path)
 
def test_plot_ecg_noise_threshold (tmp_path)
 

Function Documentation

◆ mock_isfile()

def carputils.tests.test_leadfield.mock_isfile (   monkeypatch)

◆ test_current_conservation()

def carputils.tests.test_leadfield.test_current_conservation (   cfg)

◆ test_electrode_indices_cover_all_stims()

def carputils.tests.test_leadfield.test_electrode_indices_cover_all_stims (   cfg)

◆ test_missing_vtx_raises()

def carputils.tests.test_leadfield.test_missing_vtx_raises (   monkeypatch)

◆ test_plot_ecg_empty_dir_raises()

def carputils.tests.test_leadfield.test_plot_ecg_empty_dir_raises (   tmp_path)

◆ test_plot_ecg_handles_unreadable_file()

def carputils.tests.test_leadfield.test_plot_ecg_handles_unreadable_file (   tmp_path)

◆ test_plot_ecg_noise_threshold()

def carputils.tests.test_leadfield.test_plot_ecg_noise_threshold (   tmp_path)

◆ test_plot_ecg_writes_pngs()

def carputils.tests.test_leadfield.test_plot_ecg_writes_pngs (   tmp_path)

◆ test_run_opts_all_args()

def carputils.tests.test_leadfield.test_run_opts_all_args ( )

◆ test_run_opts_defaults()

def carputils.tests.test_leadfield.test_run_opts_defaults ( )

◆ test_run_opts_lf_dir_only_keeps_normal_experiment()

def carputils.tests.test_leadfield.test_run_opts_lf_dir_only_keeps_normal_experiment ( )

◆ test_run_opts_postproc_only()

def carputils.tests.test_leadfield.test_run_opts_postproc_only ( )

◆ test_stim_count()

def carputils.tests.test_leadfield.test_stim_count (   cfg)

◆ test_unknown_config_raises()

def carputils.tests.test_leadfield.test_unknown_config_raises ( )