Skip to content

Commit e4612b4

Browse files
authored
Merge pull request #2652 from nkphysics/fixing_docs_23Q1
MAINT: Fixing HEASARC and IMCCE docs issue
2 parents 8b24c19 + 942673b commit e4612b4

File tree

2 files changed

+49
-48
lines changed

2 files changed

+49
-48
lines changed

docs/heasarc/heasarc.rst

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ It is also possible to select time range:
160160
NAME RA DEC ... ISSUE_FLAG SEARCH_OFFSET_
161161
deg deg ...
162162
-------------------------------------------------- -------- ------ ... ---------- -------------------------------------
163-
3C273 187.2473 2.0362 ... 0 2.077 (187.2779220931,2.0523864229)\n
163+
3C273 187.2473 2.0362 ... 0 2.077 (187.2779220936,2.0523864234)\n
164164

165165

166166
Getting list of available missions
@@ -241,9 +241,9 @@ mission table.
241241
Using alternative HEASARC servers
242242
---------------------------------
243243

244-
It is possible to set alternative locations for HEASARC server. One such location
244+
It is possible to set alternative locations for HEASARC servers. One such location
245245
is hosted by `INTEGRAL Science Data Center <https://www.isdc.unige.ch/>`_, and has further
246-
tables listing most recent INTEGRAL data.
246+
tables listing the most recent INTEGRAL data.
247247

248248
.. doctest-remote-data::
249249

@@ -261,18 +261,28 @@ tables listing most recent INTEGRAL data.
261261
INTEGRAL-REV3 integral_rev3_scw SCW - Science Window Data
262262
>>>
263263
>>> table = heasarc.query_object('Crab', mission='integral_rev3_scw',
264-
... radius='361 degree', time="2021-02-01 .. 2030-12-01",
264+
... radius='361 degree', time="2022-12-01 .. 2022-12-31",
265265
... sortvar='START_DATE', resultmax=100000)
266266
>>> table.pprint()
267-
SCW_ID SCW_VER SCW_TYPE RA_X ... GOOD_OMC DSIZE _SEARCH_OFFSET
268-
...
269-
------------ ------- -------- ---------- ... -------- --------- --------------
270-
232600870020 001 POINTING 48.302208 ... 370 20242432 2004.207
271-
232600870031 001 SLEW 47.182667 ... 0 1380352 2328.123
272-
232600880010 001 POINTING 46.372791 ... 0 1572864 2730.070
273-
232600880021 001 SLEW 46.357828 ... 0 917504 2729.667
274-
232600890010 001 POINTING 46.323544 ... 0 2244608 2728.770
275-
...
267+
SCW_ID SCW_VER SCW_TYPE ... GOOD_OMC DSIZE SEARCH_OFFSET_
268+
------------ ------- -------- ... -------- --------- -----------------
269+
258300400010 001 POINTING ... 0 123494400 5199.027 (CRAB)\n
270+
258400320021 001 SLEW ... 0 5799936 5082.095 (CRAB)\n
271+
258400260021 001 SLEW ... 0 5791744 5104.388 (CRAB)\n
272+
258400350010 001 POINTING ... 0 123146240 5167.027 (CRAB)\n
273+
258700350021 001 SLEW ... 0 5750784 5120.836 (CRAB)\n
274+
258400330010 001 POINTING ... 0 123179008 5067.991 (CRAB)\n
275+
258400260010 001 POINTING ... 0 123371520 5093.007 (CRAB)\n
276+
... ... ... ... ... ... ...
277+
258400270021 001 SLEW ... 0 126386176 5114.308 (CRAB)\n
278+
258400270010 001 POINTING ... 0 1200128 5113.839 (CRAB)\n
279+
258700360010 001 POINTING ... 0 122130432 5136.165 (CRAB)\n
280+
258200770010 001 POINTING ... 0 1490944 4184.684 (CRAB)\n
281+
258200770021 001 SLEW ... 0 962560 4184.587 (CRAB)\n
282+
258200780010 001 POINTING ... 0 1585152 4184.378 (CRAB)\n
283+
258700340021 001 SLEW ... 0 5779456 5181.635 (CRAB)\n
284+
Length = 1601 rows
285+
276286

277287
Reference/API
278288
=============

docs/imcce/imcce.rst

Lines changed: 26 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,11 @@ looks like this:
3737
>>> import astropy.units as u
3838
>>> field = SkyCoord(0*u.deg, 0*u.deg)
3939
>>> epoch = Time('2019-05-29 21:42', format='iso')
40-
>>> Skybot.cone_search(field, 5*u.arcmin, epoch)
41-
<QTable length=12>
42-
Number Name RA ... vy vz epoch
43-
deg ... AU / d AU / d d
44-
int64 str10 float64 ... float64 float64 float64
40+
>>> results = Skybot.cone_search(field, 5*u.arcmin, epoch)
41+
>>> results.pprint(max_width=80)
42+
Number Name RA ... vy vz epoch
43+
deg ... AU / d AU / d d
4544
------ ---------- -------------------- ... ----------- ----------- ---------
46-
-- -- 0.0 ... 0.002324846 0.000311389 2458630.0
47-
-- -- 0.0 ... ——— ——— 2458630.0
48-
-- -- 0.0 ... ——— ——— 2458630.0
49-
-- -- 0.0 ... ——— ——— 2458630.0
50-
-- -- 0.0 ... ——— ——— 2458630.0
51-
-- -- 0.0 ... ——— ——— 2458630.0
52-
-- -- 0.0 ... ——— ——— 2458630.0
53-
-- -- 0.0 ... ——— ——— 2458630.0
5445
-- 2012 BO42 0.019414999999999998 ... 0.009345668 0.005003011 2458630.0
5546
516566 2007 DH36 0.005546249999999999 ... 0.00855646 0.002875928 2458630.0
5647
-- 2019 SS82 359.9931945833333 ... 0.009809784 0.004636687 2458630.0
@@ -194,30 +185,30 @@ Pallas over an entire year with a time step of 1 day:
194185
>>> Miriade.get_ephemerides('Pallas', epoch='2019-01-01',
195186
... epoch_step='1d', epoch_nsteps=365)
196187
<Table length=365>
197-
target epoch RA ... DEC_rate delta_rate
198-
d deg ... arcsec / min km / s
199-
str20 float64 float64 ... float64 float64
188+
target epoch RA ... DEC_rate delta_rate
189+
d deg ... arcsec / min km / s
190+
str20 float64 float64 ... float64 float64
200191
------ -------------------- ------------------ ... ------------ ------------
201-
Pallas 2458484.5 200.58650791666665 ... 0.15854 -19.3678463
202-
Pallas 2458485.5 200.92693791666662 ... 0.16727 -19.4137948
203-
Pallas 2458486.5 201.26410874999996 ... 0.17613 -19.455269
204-
Pallas 2458487.5 201.59795291666666 ... 0.18511 -19.4921153
205-
Pallas 2458488.5 201.92840374999994 ... 0.19421 -19.5242013
206-
Pallas 2458489.5 202.25539416666663 ... 0.20344 -19.5514142
207-
Pallas 2458490.5 202.57885791666664 ... 0.21278 -19.5736602
208-
Pallas 2458491.5 202.8987283333333 ... 0.22224 -19.5908624
209-
Pallas 2458492.5 203.21493999999996 ... 0.23181 -19.6029579
192+
Pallas 2458484.5 200.58650874999998 ... 0.15854 -19.3678463
193+
Pallas 2458485.5 200.92693874999998 ... 0.16727 -19.4137948
194+
Pallas 2458486.5 201.2641095833333 ... 0.17613 -19.4552689
195+
Pallas 2458487.5 201.59795375 ... 0.18511 -19.4921153
196+
Pallas 2458488.5 201.9284045833333 ... 0.19421 -19.5242013
197+
Pallas 2458489.5 202.25539499999996 ... 0.20344 -19.5514142
198+
Pallas 2458490.5 202.57885874999997 ... 0.21278 -19.5736602
199+
Pallas 2458491.5 202.89872916666664 ... 0.22224 -19.5908624
200+
Pallas 2458492.5 203.21494124999998 ... 0.23181 -19.6029579
210201
... ... ... ... ... ...
211-
Pallas 2458839.5 259.61455249999995 ... 0.0069182 -1.4120216
212-
Pallas 2458840.5 259.994445 ... 0.011429 -1.632143
213-
Pallas 2458841.5 260.373805 ... 0.015948 -1.8522401
214-
Pallas 2458842.5 260.75260374999993 ... 0.020475 -2.0721425
215-
Pallas 2458843.5 261.13081041666663 ... 0.025007 -2.2916831
216-
Pallas 2458844.5 261.50839541666664 ... 0.029542 -2.5107109
217-
Pallas 2458845.5 261.8853291666666 ... 0.034077 -2.7290991
218-
Pallas 2458846.5 262.2615820833333 ... 0.038612 -2.9467491
219-
Pallas 2458847.5 262.63712666666663 ... 0.043144 -3.1635884
220-
Pallas 2458848.5 263.0119345833333 ... 0.047672 -3.3795666
202+
Pallas 2458839.5 259.6145529166667 ... 0.0069182 -1.4120214
203+
Pallas 2458840.5 259.9944454166666 ... 0.011429 -1.6321428
204+
Pallas 2458841.5 260.37380541666664 ... 0.015948 -1.85224
205+
Pallas 2458842.5 260.75260416666663 ... 0.020475 -2.0721423
206+
Pallas 2458843.5 261.13081083333327 ... 0.025007 -2.2916829
207+
Pallas 2458844.5 261.5083958333333 ... 0.029542 -2.5107107
208+
Pallas 2458845.5 261.88532958333326 ... 0.034077 -2.729099
209+
Pallas 2458846.5 262.2615825 ... 0.038612 -2.946749
210+
Pallas 2458847.5 262.63712708333327 ... 0.043144 -3.1635882
211+
Pallas 2458848.5 263.011935 ... 0.047672 -3.3795665
221212

222213

223214
The observer location is defined through the ``location`` keyword,

0 commit comments

Comments
 (0)