Changeset 26


Ignore:
Timestamp:
May 6, 2014 1:40:47 PM (10 years ago)
Author:
JohnLightfoot
Message:

debug statements removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/sourcespectrum.html

    r17 r26  
    88plt.figure()
    99
    10 print 'context'
    11 print context
    12 
    1310sourceid = context['sourceid']
    14 print sourceid
    1511spectrum = context['data']['skygenerator']['sources'][sourceid]['spectrum']
    16 print 'here'
    1712frequency_axis = context['data']['skygenerator']['frequency axis']
    18 print 'here1'
    1913
    2014plt.plot(frequency_axis, spectrum)
    2115plt.title('Source %s' % sourceid)
    22 print 'here2'
    2316
    2417plt.savefig(os.path.join(context['dirname'], 'sourcespectrum%s.png' % sourceid))
Note: See TracChangeset for help on using the changeset viewer.