iact_estimator.tests.conftest

Shared pytest fixtures for the test suite.

Functions

sample_config()

Sample configuration dictionary for testing.

sample_crab_config(sample_config)

Configuration for Crab Nebula observations.

sample_target_source()

Sample FixedTarget for testing.

sample_observer()

Sample Observer for testing (Roque de los Muchachos Observatory).

sample_time_range()

Sample time range for testing.

sample_performance_data()

Sample performance data table for testing.

sample_horizon_profile()

Sample horizon profile data for testing.

sample_ebl_file(tmp_path)

Create a sample EBL file for testing.

sample_yaml_config(tmp_path, sample_config)

Create a sample YAML configuration file for testing.

sample_energy_bins()

Sample energy bins for testing.

sample_spectrum()

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.