Commit b1cf0edc044bb1797761dc5c01c0de562f1590fe
1 parent
fc6ba477
Added getter for pointings ra and dec values.
Showing
1 changed file
with
12 additions
and
0 deletions
cscripts/csobsinfo.py
| @@ -364,6 +364,18 @@ class csobsinfo(ctools.csobservation): | @@ -364,6 +364,18 @@ class csobsinfo(ctools.csobservation): | ||
| 364 | Return azimuth angles | 364 | Return azimuth angles |
| 365 | """ | 365 | """ |
| 366 | return self._azimuths | 366 | return self._azimuths |
| 367 | + | ||
| 368 | + def ras(self): | ||
| 369 | + """ | ||
| 370 | + Return pointings right ascension | ||
| 371 | + """ | ||
| 372 | + return self._pnt_ra | ||
| 373 | + | ||
| 374 | + def decs(self): | ||
| 375 | + """ | ||
| 376 | + Return pointings declination | ||
| 377 | + """ | ||
| 378 | + return self._pnt_dec | ||
| 367 | 379 | ||
| 368 | def offsets(self): | 380 | def offsets(self): |
| 369 | """ | 381 | """ |