iact_estimator.tests.conftest¶
Shared pytest fixtures for the test suite.
Functions¶
Sample configuration dictionary for testing. |
|
|
Configuration for Crab Nebula observations. |
Sample FixedTarget for testing. |
|
Sample Observer for testing (Roque de los Muchachos Observatory). |
|
Sample time range for testing. |
|
Sample performance data table for testing. |
|
Sample horizon profile data for testing. |
|
|
Create a sample EBL file for testing. |
|
Create a sample YAML configuration file for testing. |
Sample energy bins for testing. |
|
Sample spectral model for testing. |
Module Contents¶
- iact_estimator.tests.conftest.sample_config()¶
Sample configuration dictionary for testing.
- iact_estimator.tests.conftest.sample_crab_config(sample_config)¶
Configuration for Crab Nebula observations.
- iact_estimator.tests.conftest.sample_target_source()¶
Sample FixedTarget for testing.
- iact_estimator.tests.conftest.sample_observer()¶
Sample Observer for testing (Roque de los Muchachos Observatory).
- iact_estimator.tests.conftest.sample_time_range()¶
Sample time range for testing.
- iact_estimator.tests.conftest.sample_performance_data()¶
Sample performance data table for testing.
- iact_estimator.tests.conftest.sample_horizon_profile()¶
Sample horizon profile data for testing.
- iact_estimator.tests.conftest.sample_ebl_file(tmp_path)¶
Create a sample EBL file for testing.
- iact_estimator.tests.conftest.sample_yaml_config(tmp_path, sample_config)¶
Create a sample YAML configuration file for testing.
- iact_estimator.tests.conftest.sample_energy_bins()¶
Sample energy bins for testing.
- iact_estimator.tests.conftest.sample_spectrum()¶
Sample spectral model for testing.