Skip to content

Commit d88d983

Browse files
committed
Use CTAO official position of LST-1
1 parent 45ad5ba commit d88d983

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

src/ctapipe_io_lst/constants.py

+15-7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
PIXEL_INDEX = np.arange(N_PIXELS)
2626

27+
#: Distance from central pin to elevaion axis
2728
ELEVATION_AXIS_PIN_DISTANCE = 15.885 * u.m
2829
#: location of lst-1 as `~astropy.coordinates.EarthLocation`
2930
#: Taken from Abelardo's Coordinates of LST-1 & MAGIC presentation
@@ -35,22 +36,29 @@
3536
height=2184 * u.m + ELEVATION_AXIS_PIN_DISTANCE
3637
)
3738

39+
LST1_LOCATION_CTAO = EarthLocation(
40+
lon=-17.891496913272913 * u.deg,
41+
lat=28.761526467885083 * u.deg,
42+
# height of central pin + distance from pin to elevation axis
43+
height=2184 * u.m + ELEVATION_AXIS_PIN_DISTANCE
44+
)
45+
3846
#: location of lst-2 as `~astropy.coordinates.EarthLocation`
3947
#: Taken from https://gitlab.cta-observatory.org/cta-science/array-element-positions/-/blob/main/CTAN_ArrayElements_Positions.ecsv?ref_type=heads
4048
#: EPSG coordinates transformed to lon/lat using pyproj
41-
LST2_LOCATION = EarthLocation(
49+
LST2_LOCATION_CTAO = EarthLocation(
4250
lon=-17.892707541577614 * u.deg,
4351
lat=28.761847808998038 * u.deg,
4452
height=2172.5 * u.m + ELEVATION_AXIS_PIN_DISTANCE,
4553
)
4654
#: location of lst-3 as `~astropy.coordinates.EarthLocation`
47-
LST3_LOCATION = EarthLocation(
55+
LST3_LOCATION_CTAO = EarthLocation(
4856
lon=-17.892546711522133 * u.deg,
4957
lat=28.762845266359122 * u.deg,
5058
height=2168.2 * u.m + ELEVATION_AXIS_PIN_DISTANCE,
5159
)
5260
#: location of lst-4 as `~astropy.coordinates.EarthLocation`
53-
LST4_LOCATION = EarthLocation(
61+
LST4_LOCATION_CTAO = EarthLocation(
5462
lon=-17.89137994602903 * u.deg,
5563
lat=28.76244451041423 * u.deg,
5664
height=2172.8 * u.m + ELEVATION_AXIS_PIN_DISTANCE,
@@ -64,10 +72,10 @@
6472
)
6573

6674
LST_LOCATIONS = {
67-
1: LST1_LOCATION,
68-
2: LST2_LOCATION,
69-
3: LST3_LOCATION,
70-
4: LST4_LOCATION,
75+
1: LST1_LOCATION_CTAO,
76+
2: LST2_LOCATION_CTAO,
77+
3: LST3_LOCATION_CTAO,
78+
4: LST4_LOCATION_CTAO,
7179
}
7280

7381

0 commit comments

Comments
 (0)