iact_estimator.tests.test_observability¶
Tests for the observability module.
Functions¶
Test getting the number of days in the current year. |
|
|
Test defining observational constraints from config. |
|
Test defining constraints with custom values. |
Test defining constraints with no maximum moon separation. |
|
|
Test checking observability of a target. |
|
Test computing total available observation time. |
Test that different time resolutions give consistent results. |
|
Test total available time for an unreachable target. |
|
Test observability for a target that should be observable during the year. |
Module Contents¶
- iact_estimator.tests.test_observability.test_get_days_in_this_year()[source]¶
Test getting the number of days in the current year.
- iact_estimator.tests.test_observability.test_define_constraints(sample_config)[source]¶
Test defining observational constraints from config.
- iact_estimator.tests.test_observability.test_define_constraints_custom_values(sample_config)[source]¶
Test defining constraints with custom values.
- iact_estimator.tests.test_observability.test_define_constraints_no_moon_max()[source]¶
Test defining constraints with no maximum moon separation.
- iact_estimator.tests.test_observability.test_check_observability(sample_target_source, sample_observer, sample_config)[source]¶
Test checking observability of a target.
- iact_estimator.tests.test_observability.test_get_total_available_time(sample_target_source, sample_observer, sample_config, sample_time_range)[source]¶
Test computing total available observation time.
- iact_estimator.tests.test_observability.test_get_total_available_time_different_resolutions(sample_target_source, sample_observer, sample_config)[source]¶
Test that different time resolutions give consistent results.