STIX Flare Analysis Bot

From stix
Revision as of 20:02, 11 May 2021 by Hualin (talk | contribs)
Jump to: navigation, search

How to contribute code to the STIX flare analysis bot

Plugins can be inserted to the bot. They should look similar to the example below:

from matplotlib import pyplot as plt def plot_goes_x_ray_flux(start_utc, end_utc):

  code to retrieve GOES light curve data
   plot the data
   
  plt.plot(xx)
  filename='filename.svg'
  plt.savefig(filename)
  return filename