irfpy.mima.pacc
¶
Post acceleration
- irfpy.mima.pacc.get(t)[source]¶
Return PACC index at t from the operation event file.
First call may take time (~20 sec or more) to load the event file, but from the second call, it returns quickly.
>>> import datetime >>> import irfpy.mexop.imastatus
>>> if not irfpy.mexop.imastatus.isdb(): ... print("No data source is found.") ... else: ... print(get(datetime.datetime(2006, 12, 3, 8, 0, 0))) 4 ... print get(datetime.datetime(2013, 5, 27, 23, 30, 0)) 7 ... print get(datetime.datetime(2000, 5, 27, 23, 30, 0)) -999