|
1 | 1 | from abc import abstractmethod |
2 | 2 | from collections.abc import Mapping |
3 | 3 | from datetime import UTC, datetime |
4 | | -from functools import lru_cache |
5 | 4 | from typing import Any, Dict, List, Tuple |
6 | 5 |
|
7 | 6 | import astropy.units as u |
@@ -507,7 +506,6 @@ def get_hdu_header_time_reference(self) -> Dict[str, Any]: |
507 | 506 | "TIMESYS": "TAI", |
508 | 507 | } |
509 | 508 |
|
510 | | - @lru_cache(maxsize=1) |
511 | 509 | def get_hdu_header_base_time(self) -> Dict[str, Any]: |
512 | 510 | """ |
513 | 511 | Return the information about time parameters used in several HDU |
@@ -609,7 +607,6 @@ def get_hdu_header_base_software_information(self) -> Dict[str, Any]: |
609 | 607 | header["CAL_VER"] = self.software_information["calibration_version"] |
610 | 608 | return header |
611 | 609 |
|
612 | | - @lru_cache(maxsize=1) |
613 | 610 | def get_hdu_header_base_pointing(self) -> Dict[str, Any]: |
614 | 611 | """ |
615 | 612 | Return information on the pointing during the observation |
@@ -697,7 +694,7 @@ def get_hdu_header_events(self) -> Dict[str, Any]: |
697 | 694 | The output dictionary contain all the necessary information that should be added to the header of the events HDU |
698 | 695 | """ |
699 | 696 | header = self.get_hdu_header_base_format() |
700 | | - header.update({"HDUCLAS1": "EVENTS"}) |
| 697 | + header.update({"HDUCLAS1": "EVENTS", "FOVALIGN": "ALTAZ"}) |
701 | 698 | header.update(self.get_hdu_header_base_time()) |
702 | 699 | header.update(self.get_hdu_header_base_pointing()) |
703 | 700 | header.update(self.get_hdu_header_base_observation_information()) |
|
0 commit comments