|
|
(13 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| (Refer: [[Scientific_Spin]]) | | (Refer: [[Scientific_Spin]]) |
| | |
|
| |
|
| = Image testing = | | = Image testing = |
|
| |
|
| == Fedora 20 Alpha TC5 == | | == Fedora 22 Alpha RC3 == |
|
| |
|
| | * Installed Fedora 22 Scientific x86_64 in a VM |
| | * Login works |
| | * Ran the tests below. |
|
| |
|
| | |
| | See below for some of the test scripts. |
|
| |
|
| = Tools/Libraries testing = | | = Tools/Libraries testing = |
|
| |
|
| == C programming ==
| | Test scripts and data are available on [https://github.com/amitsaha/scientific_spin_tests GitHub]. |
| | |
| Including use of math, gsl
| |
| | |
| == C++ programming ==
| |
| | |
| Use of libraries such as Bliz++ and others
| |
| | |
| == Java programming ==
| |
| | |
| Use of libraries
| |
| | |
| == Numpy & SciPy ==
| |
| | |
| == SymPy ==
| |
| | |
| == IPython (including notebook) ==
| |
| | |
| | |
| == matplotlib ==
| |
| | |
| Please test the following with both Python 2 and Python 3.
| |
| | |
| *Basic plotting with the default backend using the <code>pylab</code> module:
| |
| | |
| <pre>
| |
| # basic plotting with default backend
| |
| from pylab import plot, show
| |
| | |
| plot([1,2,3])
| |
| show()
| |
| | |
| </pre>
| |
| | |
| *Basic plotting with the default backend using the <code>maplotlib</code> package:
| |
| | |
| <pre>
| |
| # basic plotting using the matplotlib interface
| |
| import matplotlib.pyplot as plt
| |
| | |
| plt.plot([1,2,3])
| |
| plt.show()
| |
| </pre>
| |
| | |
| The default backend is <code>Qt4Agg</code>. The next scripts will test thee<code>TkAgg</code> backend.
| |
| | |
| *Basic plotting with the <code>TkAgg</code> backend using the <code>pylab</code> module:
| |
| | |
| <pre>
| |
| # basic plotting with default backend
| |
| import matplotlib
| |
| matplotlib.use('TkAgg')
| |
| | |
| from pylab import plot, show
| |
| | |
| plot([1,2,3])
| |
| show()
| |
| </pre>
| |
| | |
| | |
| *Basic plotting with the <code>TkAgg</code> backend using the <code>maplotlib</code> package:
| |
| | |
| <pre>
| |
| # basic plotting using the matplotlib interface
| |
| import matplotlib
| |
| matplotlib.use('tkagg')
| |
| | |
| import matplotlib.pyplot as plt
| |
| plt.plot([1,2,3])
| |
| plt.show()
| |
| </pre>
| |
| | |
| | |
| == gnuplot ==
| |
| | |
| *Plotting with default terminal (<code>qt</code>)
| |
| | |
| <pre>
| |
| $ gnuplot
| |
| | |
| G N U P L O T
| |
| Version 4.6 patchlevel 3 last modified 2013-04-12
| |
| Build System: Linux x86_64
| |
| | |
| Copyright (C) 1986-1993, 1998, 2004, 2007-2013
| |
| Thomas Williams, Colin Kelley and many others
| |
| | |
| gnuplot home: http://www.gnuplot.info
| |
| faq, bugs, etc: type "help FAQ"
| |
| immediate help: type "help" (plot window: hit 'h')
| |
| | |
| Terminal type set to 'qt'
| |
| gnuplot> p sin(x)
| |
| </pre>
| |
| | |
| *Try other terminals (fig, latex)
| |