Skip to content

Instantly share code, notes, and snippets.

@Raahul-Singh
Created June 14, 2020 23:16
Show Gist options
  • Save Raahul-Singh/7138ac5c07ff053e62497ac6613dad04 to your computer and use it in GitHub Desktop.
Save Raahul-Singh/7138ac5c07ff053e62497ac6613dad04 to your computer and use it in GitHub Desktop.
Pythia examples : plot_observations
def plot_observations(self, obsdate: str, mdi_map: Map = None):
"""
Plots the Active Regions for a given observation on the
MDI map corresponding to that observation.
Parameters
----------
obsdate : str
The observation time and date.
mdi_map : Map, optional
The MDI map corresponding to the given observation,
If None, the Map will be downloaded first.
By default None.
Examples
--------
>>> from pythia.seo import Sunspotter
>>> sunspotter = Sunspotter()
>>> obsdate = '2000-01-01 12:47:02'
>>> sunspotter.plot_observations(obsdate)
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment