ANCAspect#
- class stixpy.timeseries.ANCAspect(data, meta=None, units=None, **kwargs)[source]#
Bases:
GenericTimeSeriesSTIX pointing and ephemeris data
The pointing is derived from aspect data in daily housekeeping.
Notes
Invalid aspect solution are possible, use this data cautation. Two of the main reasons for invalid solutions are significant off-pointing and too far from the Sun.
Examples
>>> from stixpy.data import test >>> from sunpy.timeseries import TimeSeries >>> import stixpy.timeseries >>> asp = TimeSeries("https://pub099.cs.technik.fhnw.ch/data/fits/ANC/2022/03/14/ASP/solo_ANC_stix-asp-ephemeris_20220314_V02.fits") >>> asp ANCAspect <sunpy.time.timerange.TimeRange object at ... Start: 2022-03-14 00:00:23 End: 2022-03-14 23:59:18 Center:2022-03-14 11:59:51 Duration:0.999252662037037 days or 23.982063888888888 hours or 1438.9238333333333 minutes or 86335.43 seconds
Methods Summary
is_datasource_for(**kwargs)Determines if the file corresponds to a STIX QL LightCurve
TimeSeries.plot([axes, columns])Show a plot of the data.
Methods Documentation
- classmethod is_datasource_for(**kwargs)[source]#
Determines if the file corresponds to a STIX QL LightCurve
TimeSeries.
- plot(axes=None, columns=None, **plot_args)[source]#
Show a plot of the data.
- Parameters:
axes (
Axes, optional) – If provided the image will be plotted on the given axes. Defaults toNone, so the current axes will be used.columns (
list, optional) – Columns to plot, defaults to ‘counts’.**plot_args (
dict, optional) – Additional plot keyword arguments that are handed topandas.DataFrame.plot().
- Returns:
axes (
Axes) – The plot axes.