Scientific Packages Testing

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
Line 14: Line 14:
 
= 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)
+

Revision as of 23:36, 13 September 2013

(Refer: Scientific_Spin)


Image testing

Fedora 20 Alpha TC5

  • Installed Fedora 20 Scientific TC5 x86-64 bit on bare metal
  • Login works
  • Tried out a few applications - works fine.

--Amitksaha (talk) 01:16, 13 September 2013 (UTC)

Tools/Libraries testing

Test scripts and data are available on GitHub.