Skip to content

Commit

Permalink
fix: amend AddObservationEntry to correctly set EPOCH values in @obse…
Browse files Browse the repository at this point in the history
…rverly/iris

fix: amend AddObservationEntry to correctly set EPOCH values in @observerly/iris
  • Loading branch information
michealroberts committed Nov 29, 2024
1 parent feb62b4 commit 67baeb8
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 99 deletions.
186 changes: 93 additions & 93 deletions coverage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,32 @@ github.com/observerly/iris/pkg/image/gray16.go:40.12,42.3 1 0
github.com/observerly/iris/pkg/image/gray16.go:45.2,45.35 1 1
github.com/observerly/iris/pkg/image/gray16.go:45.35,52.3 4 9
github.com/observerly/iris/pkg/image/gray16.go:55.2,55.17 1 1
github.com/observerly/iris/pkg/palette/palette.go:40.61,56.12 8 1
github.com/observerly/iris/pkg/palette/palette.go:56.12,63.17 5 1
github.com/observerly/iris/pkg/palette/palette.go:63.17,65.4 1 0
github.com/observerly/iris/pkg/palette/palette.go:67.3,67.9 1 1
github.com/observerly/iris/pkg/palette/palette.go:71.2,71.12 1 1
github.com/observerly/iris/pkg/palette/palette.go:71.12,78.17 5 1
github.com/observerly/iris/pkg/palette/palette.go:78.17,80.4 1 0
github.com/observerly/iris/pkg/palette/palette.go:82.3,82.9 1 1
github.com/observerly/iris/pkg/palette/palette.go:86.2,86.12 1 1
github.com/observerly/iris/pkg/palette/palette.go:86.12,93.17 5 1
github.com/observerly/iris/pkg/palette/palette.go:93.17,95.4 1 0
github.com/observerly/iris/pkg/palette/palette.go:97.3,97.9 1 1
github.com/observerly/iris/pkg/palette/palette.go:100.2,100.12 1 1
github.com/observerly/iris/pkg/palette/palette.go:100.12,106.3 5 1
github.com/observerly/iris/pkg/palette/palette.go:108.2,108.32 1 1
github.com/observerly/iris/pkg/palette/palette.go:114.73,120.28 3 6
github.com/observerly/iris/pkg/palette/palette.go:120.28,121.28 1 12
github.com/observerly/iris/pkg/palette/palette.go:121.28,123.24 1 36
github.com/observerly/iris/pkg/palette/palette.go:123.24,125.5 1 0
github.com/observerly/iris/pkg/palette/palette.go:127.4,127.30 1 36
github.com/observerly/iris/pkg/palette/palette.go:131.3,133.25 2 12
github.com/observerly/iris/pkg/palette/palette.go:137.2,137.20 1 6
github.com/observerly/iris/pkg/palette/palette.go:137.20,139.3 1 0
github.com/observerly/iris/pkg/palette/palette.go:141.2,143.16 2 6
github.com/observerly/iris/pkg/palette/palette.go:143.16,145.3 1 0
github.com/observerly/iris/pkg/palette/palette.go:147.2,147.15 1 6
github.com/observerly/iris/pkg/qsort/qsort.go:16.41,26.6 6 18
github.com/observerly/iris/pkg/qsort/qsort.go:26.6,27.7 1 25
github.com/observerly/iris/pkg/qsort/qsort.go:27.7,29.21 2 48
Expand Down Expand Up @@ -185,32 +211,6 @@ github.com/observerly/iris/pkg/qsort/qsort.go:127.2,129.27 2 2
github.com/observerly/iris/pkg/qsort/qsort.go:129.27,130.19 1 7
github.com/observerly/iris/pkg/qsort/qsort.go:130.19,132.4 1 6
github.com/observerly/iris/pkg/qsort/qsort.go:136.2,136.30 1 2
github.com/observerly/iris/pkg/palette/palette.go:40.61,56.12 8 1
github.com/observerly/iris/pkg/palette/palette.go:56.12,63.17 5 1
github.com/observerly/iris/pkg/palette/palette.go:63.17,65.4 1 0
github.com/observerly/iris/pkg/palette/palette.go:67.3,67.9 1 1
github.com/observerly/iris/pkg/palette/palette.go:71.2,71.12 1 1
github.com/observerly/iris/pkg/palette/palette.go:71.12,78.17 5 1
github.com/observerly/iris/pkg/palette/palette.go:78.17,80.4 1 0
github.com/observerly/iris/pkg/palette/palette.go:82.3,82.9 1 1
github.com/observerly/iris/pkg/palette/palette.go:86.2,86.12 1 1
github.com/observerly/iris/pkg/palette/palette.go:86.12,93.17 5 1
github.com/observerly/iris/pkg/palette/palette.go:93.17,95.4 1 0
github.com/observerly/iris/pkg/palette/palette.go:97.3,97.9 1 1
github.com/observerly/iris/pkg/palette/palette.go:100.2,100.12 1 1
github.com/observerly/iris/pkg/palette/palette.go:100.12,106.3 5 1
github.com/observerly/iris/pkg/palette/palette.go:108.2,108.32 1 1
github.com/observerly/iris/pkg/palette/palette.go:114.73,120.28 3 6
github.com/observerly/iris/pkg/palette/palette.go:120.28,121.28 1 12
github.com/observerly/iris/pkg/palette/palette.go:121.28,123.24 1 36
github.com/observerly/iris/pkg/palette/palette.go:123.24,125.5 1 0
github.com/observerly/iris/pkg/palette/palette.go:127.4,127.30 1 36
github.com/observerly/iris/pkg/palette/palette.go:131.3,133.25 2 12
github.com/observerly/iris/pkg/palette/palette.go:137.2,137.20 1 6
github.com/observerly/iris/pkg/palette/palette.go:137.20,139.3 1 0
github.com/observerly/iris/pkg/palette/palette.go:141.2,143.16 2 6
github.com/observerly/iris/pkg/palette/palette.go:143.16,145.3 1 0
github.com/observerly/iris/pkg/palette/palette.go:147.2,147.15 1 6
github.com/observerly/iris/pkg/frames/bias.go:30.144,36.31 3 7
github.com/observerly/iris/pkg/frames/bias.go:36.31,38.3 1 15
github.com/observerly/iris/pkg/frames/bias.go:41.2,50.21 2 7
Expand Down Expand Up @@ -398,15 +398,15 @@ github.com/observerly/iris/pkg/statistics/stats.go:207.24,212.3 3 770008
github.com/observerly/iris/pkg/statistics/stats.go:216.2,218.11 2 5
github.com/observerly/iris/pkg/statistics/stats.go:234.100,240.24 3 3
github.com/observerly/iris/pkg/statistics/stats.go:240.24,242.7 2 769000
github.com/observerly/iris/pkg/statistics/stats.go:242.7,245.43 2 769129
github.com/observerly/iris/pkg/statistics/stats.go:242.7,245.43 2 769082
github.com/observerly/iris/pkg/statistics/stats.go:245.43,246.10 1 769000
github.com/observerly/iris/pkg/statistics/stats.go:250.3,250.16 1 769000
github.com/observerly/iris/pkg/statistics/stats.go:253.2,255.15 2 3
github.com/observerly/iris/pkg/statistics/stats.go:266.96,272.24 3 3
github.com/observerly/iris/pkg/statistics/stats.go:272.24,275.7 2 769000
github.com/observerly/iris/pkg/statistics/stats.go:275.7,279.43 3 769150
github.com/observerly/iris/pkg/statistics/stats.go:279.43,280.13 1 99
github.com/observerly/iris/pkg/statistics/stats.go:283.4,284.45 2 769051
github.com/observerly/iris/pkg/statistics/stats.go:275.7,279.43 3 769146
github.com/observerly/iris/pkg/statistics/stats.go:279.43,280.13 1 88
github.com/observerly/iris/pkg/statistics/stats.go:283.4,284.45 2 769058
github.com/observerly/iris/pkg/statistics/stats.go:284.45,285.10 1 769000
github.com/observerly/iris/pkg/statistics/stats.go:289.3,289.50 1 769000
github.com/observerly/iris/pkg/statistics/stats.go:294.2,296.11 2 3
Expand Down Expand Up @@ -479,7 +479,7 @@ github.com/observerly/iris/pkg/fits/header.go:140.50,142.4 1 0
github.com/observerly/iris/pkg/fits/header.go:144.2,144.56 1 0
github.com/observerly/iris/pkg/fits/header.go:150.79,151.27 1 173
github.com/observerly/iris/pkg/fits/header.go:152.12,156.4 1 0
github.com/observerly/iris/pkg/fits/header.go:157.14,161.4 1 93
github.com/observerly/iris/pkg/fits/header.go:157.14,161.4 1 91
github.com/observerly/iris/pkg/fits/header.go:162.11,163.45 1 0
github.com/observerly/iris/pkg/fits/header.go:163.45,165.4 1 0
github.com/observerly/iris/pkg/fits/header.go:166.3,169.4 1 0
Expand All @@ -494,7 +494,7 @@ github.com/observerly/iris/pkg/fits/header.go:198.14,202.4 1 0
github.com/observerly/iris/pkg/fits/header.go:203.14,204.32 1 0
github.com/observerly/iris/pkg/fits/header.go:204.32,206.4 1 0
github.com/observerly/iris/pkg/fits/header.go:207.3,210.4 1 0
github.com/observerly/iris/pkg/fits/header.go:211.15,215.4 1 11
github.com/observerly/iris/pkg/fits/header.go:211.15,215.4 1 13
github.com/observerly/iris/pkg/fits/header.go:216.15,217.50 1 0
github.com/observerly/iris/pkg/fits/header.go:217.50,219.4 1 0
github.com/observerly/iris/pkg/fits/header.go:220.3,223.4 1 0
Expand All @@ -511,11 +511,11 @@ github.com/observerly/iris/pkg/fits/header.go:264.2,264.12 1 4
github.com/observerly/iris/pkg/fits/header.go:272.78,289.28 8 11
github.com/observerly/iris/pkg/fits/header.go:289.28,291.3 1 2
github.com/observerly/iris/pkg/fits/header.go:293.2,293.30 1 11
github.com/observerly/iris/pkg/fits/header.go:293.30,295.3 1 44
github.com/observerly/iris/pkg/fits/header.go:293.30,295.3 1 42
github.com/observerly/iris/pkg/fits/header.go:297.2,297.27 1 11
github.com/observerly/iris/pkg/fits/header.go:297.27,299.3 1 19
github.com/observerly/iris/pkg/fits/header.go:301.2,301.29 1 11
github.com/observerly/iris/pkg/fits/header.go:301.29,303.3 1 12
github.com/observerly/iris/pkg/fits/header.go:301.29,303.3 1 14
github.com/observerly/iris/pkg/fits/header.go:305.2,305.28 1 11
github.com/observerly/iris/pkg/fits/header.go:305.28,307.3 1 1
github.com/observerly/iris/pkg/fits/header.go:309.2,314.28 3 11
Expand Down Expand Up @@ -560,12 +560,12 @@ github.com/observerly/iris/pkg/fits/header.go:468.23,470.3 1 0
github.com/observerly/iris/pkg/fits/header.go:473.2,476.11 2 13
github.com/observerly/iris/pkg/fits/header.go:476.11,478.3 1 13
github.com/observerly/iris/pkg/fits/header.go:480.2,480.55 1 13
github.com/observerly/iris/pkg/fits/header.go:486.59,487.18 1 45
github.com/observerly/iris/pkg/fits/header.go:486.59,487.18 1 43
github.com/observerly/iris/pkg/fits/header.go:487.18,489.3 1 0
github.com/observerly/iris/pkg/fits/header.go:490.2,490.23 1 45
github.com/observerly/iris/pkg/fits/header.go:490.2,490.23 1 43
github.com/observerly/iris/pkg/fits/header.go:490.23,492.3 1 11
github.com/observerly/iris/pkg/fits/header.go:495.2,497.22 2 45
github.com/observerly/iris/pkg/fits/header.go:497.22,499.3 1 42
github.com/observerly/iris/pkg/fits/header.go:495.2,497.22 2 43
github.com/observerly/iris/pkg/fits/header.go:497.22,499.3 1 40
github.com/observerly/iris/pkg/fits/header.go:499.8,504.23 3 3
github.com/observerly/iris/pkg/fits/header.go:504.23,507.4 2 0
github.com/observerly/iris/pkg/fits/header.go:509.3,509.85 1 3
Expand All @@ -574,18 +574,18 @@ github.com/observerly/iris/pkg/fits/header.go:517.18,519.3 1 0
github.com/observerly/iris/pkg/fits/header.go:521.2,521.23 1 85
github.com/observerly/iris/pkg/fits/header.go:521.23,523.3 1 8
github.com/observerly/iris/pkg/fits/header.go:525.2,525.59 1 85
github.com/observerly/iris/pkg/fits/header.go:531.73,533.18 1 16
github.com/observerly/iris/pkg/fits/header.go:531.73,533.18 1 18
github.com/observerly/iris/pkg/fits/header.go:533.18,535.3 1 0
github.com/observerly/iris/pkg/fits/header.go:535.8,535.25 1 16
github.com/observerly/iris/pkg/fits/header.go:535.25,537.3 1 13
github.com/observerly/iris/pkg/fits/header.go:540.2,540.23 1 16
github.com/observerly/iris/pkg/fits/header.go:535.8,535.25 1 18
github.com/observerly/iris/pkg/fits/header.go:535.25,537.3 1 15
github.com/observerly/iris/pkg/fits/header.go:540.2,540.23 1 18
github.com/observerly/iris/pkg/fits/header.go:540.23,542.3 1 2
github.com/observerly/iris/pkg/fits/header.go:542.8,542.30 1 14
github.com/observerly/iris/pkg/fits/header.go:542.30,544.3 1 14
github.com/observerly/iris/pkg/fits/header.go:546.2,553.61 3 16
github.com/observerly/iris/pkg/fits/header.go:542.8,542.30 1 16
github.com/observerly/iris/pkg/fits/header.go:542.30,544.3 1 16
github.com/observerly/iris/pkg/fits/header.go:546.2,553.61 3 18
github.com/observerly/iris/pkg/fits/header.go:553.61,556.3 1 4
github.com/observerly/iris/pkg/fits/header.go:556.8,559.3 1 12
github.com/observerly/iris/pkg/fits/header.go:562.2,562.66 1 16
github.com/observerly/iris/pkg/fits/header.go:556.8,559.3 1 14
github.com/observerly/iris/pkg/fits/header.go:562.2,562.66 1 18
github.com/observerly/iris/pkg/fits/header.go:568.33,571.2 2 11
github.com/observerly/iris/pkg/fits/header.go:576.46,613.2 22 1
github.com/observerly/iris/pkg/fits/header.go:618.92,625.37 3 0
Expand Down Expand Up @@ -645,7 +645,7 @@ github.com/observerly/iris/pkg/photometry/stars.go:95.101,101.2 3 2
github.com/observerly/iris/pkg/photometry/stars.go:106.97,137.2 13 1
github.com/observerly/iris/pkg/photometry/stars.go:143.119,147.25 2 95855
github.com/observerly/iris/pkg/photometry/stars.go:147.25,151.39 2 862695
github.com/observerly/iris/pkg/photometry/stars.go:151.39,154.4 2 862254
github.com/observerly/iris/pkg/photometry/stars.go:151.39,154.4 2 862218
github.com/observerly/iris/pkg/photometry/stars.go:157.2,159.23 2 95855
github.com/observerly/iris/pkg/photometry/stars.go:166.89,170.25 2 7
github.com/observerly/iris/pkg/photometry/stars.go:170.25,171.20 1 10253216
Expand All @@ -658,62 +658,62 @@ github.com/observerly/iris/pkg/photometry/stars.go:203.95,216.34 6 5
github.com/observerly/iris/pkg/photometry/stars.go:216.34,222.3 3 85435
github.com/observerly/iris/pkg/photometry/stars.go:224.2,231.29 4 5
github.com/observerly/iris/pkg/photometry/stars.go:231.29,237.44 3 10420
github.com/observerly/iris/pkg/photometry/stars.go:237.44,240.4 2 10170
github.com/observerly/iris/pkg/photometry/stars.go:237.44,240.4 2 10125
github.com/observerly/iris/pkg/photometry/stars.go:243.2,243.31 1 5
github.com/observerly/iris/pkg/photometry/stars.go:248.85,265.26 8 6
github.com/observerly/iris/pkg/photometry/stars.go:265.26,270.38 2 8578
github.com/observerly/iris/pkg/photometry/stars.go:270.38,271.41 1 18272
github.com/observerly/iris/pkg/photometry/stars.go:265.26,270.38 2 8534
github.com/observerly/iris/pkg/photometry/stars.go:270.38,271.41 1 18160
github.com/observerly/iris/pkg/photometry/stars.go:271.41,272.13 1 1130
github.com/observerly/iris/pkg/photometry/stars.go:275.4,275.39 1 17142
github.com/observerly/iris/pkg/photometry/stars.go:275.39,276.42 1 44108
github.com/observerly/iris/pkg/photometry/stars.go:276.42,277.14 1 4636
github.com/observerly/iris/pkg/photometry/stars.go:281.5,284.53 2 39472
github.com/observerly/iris/pkg/photometry/stars.go:284.53,291.22 5 223686
github.com/observerly/iris/pkg/photometry/stars.go:291.22,292.27 1 7278
github.com/observerly/iris/pkg/photometry/stars.go:299.3,309.17 5 1300
github.com/observerly/iris/pkg/photometry/stars.go:275.4,275.39 1 17030
github.com/observerly/iris/pkg/photometry/stars.go:275.39,276.42 1 43792
github.com/observerly/iris/pkg/photometry/stars.go:276.42,277.14 1 4610
github.com/observerly/iris/pkg/photometry/stars.go:281.5,284.53 2 39182
github.com/observerly/iris/pkg/photometry/stars.go:284.53,291.22 5 217856
github.com/observerly/iris/pkg/photometry/stars.go:291.22,292.27 1 7258
github.com/observerly/iris/pkg/photometry/stars.go:299.3,309.17 5 1276
github.com/observerly/iris/pkg/photometry/stars.go:309.17,311.4 1 180
github.com/observerly/iris/pkg/photometry/stars.go:311.9,312.24 1 1120
github.com/observerly/iris/pkg/photometry/stars.go:312.24,314.5 1 3930
github.com/observerly/iris/pkg/photometry/stars.go:316.4,316.38 1 1120
github.com/observerly/iris/pkg/photometry/stars.go:319.3,319.19 1 1300
github.com/observerly/iris/pkg/photometry/stars.go:311.9,312.24 1 1096
github.com/observerly/iris/pkg/photometry/stars.go:312.24,314.5 1 3730
github.com/observerly/iris/pkg/photometry/stars.go:316.4,316.38 1 1096
github.com/observerly/iris/pkg/photometry/stars.go:319.3,319.19 1 1276
github.com/observerly/iris/pkg/photometry/stars.go:322.2,325.31 3 6
github.com/observerly/iris/pkg/photometry/stars.go:331.106,333.26 1 3
github.com/observerly/iris/pkg/photometry/stars.go:333.26,336.71 2 663
github.com/observerly/iris/pkg/photometry/stars.go:336.71,342.39 3 1281
github.com/observerly/iris/pkg/photometry/stars.go:342.39,343.40 1 42273
github.com/observerly/iris/pkg/photometry/stars.go:343.40,348.46 3 1395009
github.com/observerly/iris/pkg/photometry/stars.go:348.46,350.20 2 1372734
github.com/observerly/iris/pkg/photometry/stars.go:350.20,352.8 1 1358493
github.com/observerly/iris/pkg/photometry/stars.go:355.6,357.19 3 1395009
github.com/observerly/iris/pkg/photometry/stars.go:362.4,365.19 3 1281
github.com/observerly/iris/pkg/photometry/stars.go:333.26,336.71 2 651
github.com/observerly/iris/pkg/photometry/stars.go:336.71,342.39 3 1263
github.com/observerly/iris/pkg/photometry/stars.go:342.39,343.40 1 41679
github.com/observerly/iris/pkg/photometry/stars.go:343.40,348.46 3 1375407
github.com/observerly/iris/pkg/photometry/stars.go:348.46,350.20 2 1353132
github.com/observerly/iris/pkg/photometry/stars.go:350.20,352.8 1 1338933
github.com/observerly/iris/pkg/photometry/stars.go:355.6,357.19 3 1375407
github.com/observerly/iris/pkg/photometry/stars.go:362.4,365.19 3 1263
github.com/observerly/iris/pkg/photometry/stars.go:365.19,367.5 1 0
github.com/observerly/iris/pkg/photometry/stars.go:369.4,384.44 10 1281
github.com/observerly/iris/pkg/photometry/stars.go:384.44,386.5 1 1281
github.com/observerly/iris/pkg/photometry/stars.go:388.4,396.16 2 1281
github.com/observerly/iris/pkg/photometry/stars.go:369.4,384.44 10 1263
github.com/observerly/iris/pkg/photometry/stars.go:384.44,386.5 1 1263
github.com/observerly/iris/pkg/photometry/stars.go:388.4,396.16 2 1263
github.com/observerly/iris/pkg/photometry/stars.go:400.2,400.14 1 3
github.com/observerly/iris/pkg/photometry/stars.go:407.143,412.26 3 2
github.com/observerly/iris/pkg/photometry/stars.go:412.26,420.32 4 416
github.com/observerly/iris/pkg/photometry/stars.go:420.32,421.33 1 13728
github.com/observerly/iris/pkg/photometry/stars.go:421.33,423.29 2 453024
github.com/observerly/iris/pkg/photometry/stars.go:423.29,424.14 1 121472
github.com/observerly/iris/pkg/photometry/stars.go:426.5,432.47 4 331552
github.com/observerly/iris/pkg/photometry/stars.go:432.47,434.15 2 328328
github.com/observerly/iris/pkg/photometry/stars.go:434.15,436.7 1 179460
github.com/observerly/iris/pkg/photometry/stars.go:438.5,440.13 3 331552
github.com/observerly/iris/pkg/photometry/stars.go:444.3,444.18 1 416
github.com/observerly/iris/pkg/photometry/stars.go:412.26,420.32 4 408
github.com/observerly/iris/pkg/photometry/stars.go:420.32,421.33 1 13464
github.com/observerly/iris/pkg/photometry/stars.go:421.33,423.29 2 444312
github.com/observerly/iris/pkg/photometry/stars.go:423.29,424.14 1 119136
github.com/observerly/iris/pkg/photometry/stars.go:426.5,432.47 4 325176
github.com/observerly/iris/pkg/photometry/stars.go:432.47,434.15 2 321952
github.com/observerly/iris/pkg/photometry/stars.go:434.15,436.7 1 174688
github.com/observerly/iris/pkg/photometry/stars.go:438.5,440.13 3 325176
github.com/observerly/iris/pkg/photometry/stars.go:444.3,444.18 1 408
github.com/observerly/iris/pkg/photometry/stars.go:444.18,446.4 1 0
github.com/observerly/iris/pkg/photometry/stars.go:448.3,451.19 2 416
github.com/observerly/iris/pkg/photometry/stars.go:448.3,451.19 2 408
github.com/observerly/iris/pkg/photometry/stars.go:451.19,452.12 1 0
github.com/observerly/iris/pkg/photometry/stars.go:456.3,462.42 4 416
github.com/observerly/iris/pkg/photometry/stars.go:462.42,463.43 1 6792
github.com/observerly/iris/pkg/photometry/stars.go:463.43,466.29 2 115600
github.com/observerly/iris/pkg/photometry/stars.go:466.29,467.14 1 43840
github.com/observerly/iris/pkg/photometry/stars.go:470.5,474.47 3 71760
github.com/observerly/iris/pkg/photometry/stars.go:474.47,476.15 2 71506
github.com/observerly/iris/pkg/photometry/stars.go:476.15,478.7 1 53798
github.com/observerly/iris/pkg/photometry/stars.go:480.5,481.18 2 71760
github.com/observerly/iris/pkg/photometry/stars.go:486.3,490.81 3 416
github.com/observerly/iris/pkg/photometry/stars.go:490.81,491.12 1 78
github.com/observerly/iris/pkg/photometry/stars.go:456.3,462.42 4 408
github.com/observerly/iris/pkg/photometry/stars.go:462.42,463.43 1 6620
github.com/observerly/iris/pkg/photometry/stars.go:463.43,466.29 2 111880
github.com/observerly/iris/pkg/photometry/stars.go:466.29,467.14 1 42584
github.com/observerly/iris/pkg/photometry/stars.go:470.5,474.47 3 69296
github.com/observerly/iris/pkg/photometry/stars.go:474.47,476.15 2 69042
github.com/observerly/iris/pkg/photometry/stars.go:476.15,478.7 1 51858
github.com/observerly/iris/pkg/photometry/stars.go:480.5,481.18 2 69296
github.com/observerly/iris/pkg/photometry/stars.go:486.3,490.81 3 408
github.com/observerly/iris/pkg/photometry/stars.go:490.81,491.12 1 70
github.com/observerly/iris/pkg/photometry/stars.go:495.3,504.25 5 338
github.com/observerly/iris/pkg/photometry/stars.go:508.2,510.39 2 2
github.com/observerly/iris/pkg/iris/monochrome.go:43.95,61.2 4 13
Expand Down
4 changes: 2 additions & 2 deletions pkg/fits/fits.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ func (f *FITSImage) AddObservationEntry(observation *FITSObservation) *FITSImage
f.Header.Set("MJD-OBS", observation.MJDObs, "Modified Julian Date of the observation")

// Set the Equinox of the Observation:
f.Header.Set("EQUINOX", fmt.Sprintf("%.1f", observation.Equinox), "Equinox of observation e.g., J2000.0")
f.Header.Set("EQUINOX", observation.Equinox, "Equinox of observation e.g., J2000.0")

// Set the Epoch of the Observation:
f.Header.Set("EPOCH", fmt.Sprintf("%.1f", observation.Epoch), "Epoch of observation")
f.Header.Set("EPOCH", observation.Epoch, "Epoch of observation")

// Set the astrometric reference frame or celestial coordinate system used for the celestial coordinates:
f.Header.Set("RADESYS", "ICRS", "International Celestial Reference System")
Expand Down
Loading

0 comments on commit 67baeb8

Please sign in to comment.