|
|
(17 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| (Refer: [[Scientific_Spin]]) | | (Refer: [[Scientific_Spin]]) |
|
| |
|
| == C programming ==
| |
|
| |
|
| Including use of math, gsl
| | = Image testing = |
|
| |
|
| == C++ programming == | | == Fedora 22 Alpha RC3 == |
|
| |
|
| Use of libraries such as Bliz++ and others
| | * Installed Fedora 22 Scientific x86_64 in a VM |
| | * Login works |
| | * Ran the tests below. |
|
| |
|
| == Java programming ==
| |
|
| |
|
| Use of libraries
| | See below for some of the test scripts. |
|
| |
|
| | = Tools/Libraries testing = |
|
| |
|
| == matplotlib ==
| | Test scripts and data are available on [https://github.com/amitsaha/scientific_spin_tests GitHub]. |
| | |
| 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 ==
| |