<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://jwork.org/jhepwork/wikidoc/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://jwork.org/jhepwork/wikidoc/feed.php">
        <title>jHepWork tutorial</title>
        <description></description>
        <link>http://jwork.org/jhepwork/wikidoc/</link>
        <image rdf:resource="http://jwork.org/jhepwork/wikidoc/lib/images/favicon.ico" />
       <dc:date>2010-09-07T07:05:18-06:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=analytical&amp;rev=1273881515&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=book&amp;rev=1268004359&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=clustering&amp;rev=1269137114&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=contributions&amp;rev=1275063577&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=datamining&amp;rev=1269576630&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=datastructures&amp;rev=1278728367&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=diagrams&amp;rev=1269837908&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=disclaimer&amp;rev=1278141643&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=fitting&amp;rev=1275275762&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=footer&amp;rev=1268015745&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=functions&amp;rev=1274305660&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=geometry&amp;rev=1275093765&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=graphics&amp;rev=1282165616&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=histograms&amp;rev=1269838208&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=inputoutput&amp;rev=1283659951&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=metadata&amp;rev=1269576593&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=navigation&amp;rev=1278133464&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=neuralnet&amp;rev=1269137183&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=plot_annotations&amp;rev=1278450441&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=randomnumbers&amp;rev=1278728645&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=runningscripts&amp;rev=1274244870&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=start&amp;rev=1283400817&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=statistics&amp;rev=1278197918&amp;do=diff"/>
                <rdf:li rdf:resource="http://jwork.org/jhepwork/wikidoc/doku.php?id=working_with_ide&amp;rev=1277566834&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://jwork.org/jhepwork/wikidoc/lib/images/favicon.ico">
        <title>jHepWork tutorial</title>
        <link>http://jwork.org/jhepwork/wikidoc/</link>
        <url>http://jwork.org/jhepwork/wikidoc/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=analytical&amp;rev=1273881515&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-14T17:58:35-06:00</dc:date>
        <title>analytical</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=analytical&amp;rev=1273881515&amp;do=diff</link>
        <description>Symbolic calculations using SymbolicShell


jHepWork IDE contains “SymbolicShell”, which is 
Jasymca-based calculator for symbolic calculations which
originally developed by Helmut Dersch. Click on the tab “SymbolicShell” and look at the demo (type “demo”). It is a rather poweful calculator which can be used for symbolic (and numeric) integration, differentiation, solving linear and non-linear equations,  plotting functions and much more.</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=book&amp;rev=1268004359&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-07T16:25:59-06:00</dc:date>
        <title>book</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=book&amp;rev=1268004359&amp;do=diff</link>
        <description>This is a short tutorial on how to use jHepWork for scientific data analysis. A complete description of how to use Java, Jython and jHepWork for scientific analysis is described in the book Scientific data analysis using Jython and Java (to be published by [&lt;http://www.springer.com/&gt; Springer Verlag]) by S.V.Chekanov</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=clustering&amp;rev=1269137114&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-20T20:05:14-06:00</dc:date>
        <title>clustering</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=clustering&amp;rev=1269137114&amp;do=diff</link>
        <description>jHepWork contains a framework for clustering analysis, i.e. 
for non-supervised learning in which the classification process does not depend on a priory information. 
It includes the following algorithms:


	*  K-means clustering analysis (single and multi pass)
	*  C-means (fuzzy) algorithm
	*  Agglomerative hierarchical clustering</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=contributions&amp;rev=1275063577&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-28T10:19:37-06:00</dc:date>
        <title>contributions</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=contributions&amp;rev=1275063577&amp;do=diff</link>
        <description>jHepWork is based on many reused JAVA classes that have been rewritten and adopted
such that they can fit to the jHepWork concept of the Java scripting, rather than
their original  GUI or macro driven concept. 
Usually, this means that all packages were refactored and are complemented with their own 
high-level classes to be called from  Jython (or BeanShell).</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=datamining&amp;rev=1269576630&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-25T22:10:30-06:00</dc:date>
        <title>datamining</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=datamining&amp;rev=1269576630&amp;do=diff</link>
        <description>Read the book &quot;Scientific data analysis using Jython scripting and Java for more details.</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=datastructures&amp;rev=1278728367&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-09T20:19:27-06:00</dc:date>
        <title>datastructures</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=datastructures&amp;rev=1278728367&amp;do=diff</link>
        <description>The native Java data containers


Read Java Collection tutorial

Jython/Python data containers


Read  Python data structures tutorial

jHepWork data containers


The jHepWork data containers are designed for scientific data analysis and are well suited
for data manipulation, input/output and data representation using various canvaces.</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=diagrams&amp;rev=1269837908&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-28T22:45:08-06:00</dc:date>
        <title>diagrams</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=diagrams&amp;rev=1269837908&amp;do=diff</link>
        <description>Drawing shapes programmically


Using jHepWork canvases, one can draw lines, arrows, ovals, interactive labels.
One can use the same canvas as for plotting data and functions.

For example, use the canvas
HPlot. One can
add objects using the method “add” and the call “update()” method to draw all objects
at once:</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=disclaimer&amp;rev=1278141643&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-03T01:20:43-06:00</dc:date>
        <title>disclaimer</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=disclaimer&amp;rev=1278141643&amp;do=diff</link>
        <description>The  author  makes no warranties, express or implied, that the programs contained
in this tutorial are free of errors, or are consistent with any particular standard of merchantability.
They should not be relied on for solving a problem whose incorrect
solution could result in injury to a person or loss of property. If you do use the
program in such a manner, it is at your own risk. The authors
disclaim all liability for direct or consequential damages resulting from your
use of the programs.</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=fitting&amp;rev=1275275762&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-30T21:16:02-06:00</dc:date>
        <title>fitting</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=fitting&amp;rev=1275275762&amp;do=diff</link>
        <description>Linear regression


jHepWork offers reach classes for a linear and non-linear regression.
Use the class “LinReg” from the package “jhplot.stat”, the use of which is
illustrated in this simple example.


from jhplot  import * 
from jhplot.stat  import LinReg
from java.awt import Color
from java.util import Random

c1 = HPlot(&quot;Canvas&quot;,600,400)
c1.visible(1)
c1.setGTitle(&quot;Linear regression&quot;)
c1.setAutoRange()

p1= P1D(&quot;data&quot;)
rand = Random();
for i in range(200):
       x=rand.nextGaussian()
      …</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=footer&amp;rev=1268015745&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-07T19:35:45-06:00</dc:date>
        <title>footer</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=footer&amp;rev=1268015745&amp;do=diff</link>
        <description>jHepWork: a data analysis framework for scientists. @ S.V.Chekanov. |</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=functions&amp;rev=1274305660&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-19T15:47:40-06:00</dc:date>
        <title>functions</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=functions&amp;rev=1274305660&amp;do=diff</link>
        <description>Mathematical functions in one dimension (1D)


We will start this tutorial with a simple example of how to create and show a function in 1D.

Using Jython (or Python) syntax


First, let us create an object representing a function

 .

Such functions are represented by the Java class F1D.</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=geometry&amp;rev=1275093765&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-28T18:42:45-06:00</dc:date>
        <title>geometry</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=geometry&amp;rev=1275093765&amp;do=diff</link>
        <description>For drawing  iterative geometrical objects, use the class
HZirkel which is
re-write of the well-known 
C.a.R/Zirkel (Compass and Ruler Construct and Rule) project.
jHepWork uses a Swing-rewrite of this program called
CarMetal.
The source code has several modifications in order to run this program using a scripting language.</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=graphics&amp;rev=1282165616&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-18T15:06:56-06:00</dc:date>
        <title>graphics</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=graphics&amp;rev=1282165616&amp;do=diff</link>
        <description>Below we summarise the jHepWork canvases which can be used to display data using Java/Jython:


	*  HPlot - 2D canvas and contour plots for  H1D, P1D, F1D objects and other graphical primitives;
	*  HPlotJa 2D canvas with interactive editor for drawing diagrams. It has also support for H1D, P1D, F1D as well as for graphical primitives and Feynman diagrams;
	*  SPlot  a light-weight 2D canvas with a support for  H1D, P1D, F1D as well as for the standard Java arrays
	*  HPlot2D  used for  contour …</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=histograms&amp;rev=1269838208&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-28T22:50:08-06:00</dc:date>
        <title>histograms</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=histograms&amp;rev=1269838208&amp;do=diff</link>
        <description>To construct a histogram representing a density distribution of some variable
one should follow these 2 steps: construct a histogram object using the
H1D
class and then fill it.

This is an example using the JHPLOT package (here we are using the Jython syntax
instead of Java):</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=inputoutput&amp;rev=1283659951&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-09-04T22:12:31-06:00</dc:date>
        <title>inputoutput</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=inputoutput&amp;rev=1283659951&amp;do=diff</link>
        <description>(Under construction!)

Native Java IO classes


Read Java IO tutorial

Below we show a simple example of how to use Java classes using Python/Jython syntax for IO:



from java.io import *
fo=FileOutputStream('data.d')
out=DataOutputStream(BufferedOutputStream( fo ))
list=[1.,2.,3.,4.,5.]
for a in list:
   out.writeFloat(a)
out.close()
fo.close()</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=metadata&amp;rev=1269576593&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-25T22:09:53-06:00</dc:date>
        <title>metadata</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=metadata&amp;rev=1269576593&amp;do=diff</link>
        <description>Read the book &quot;Scientific data analysis using Jython scripting and Java for more details.</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=navigation&amp;rev=1278133464&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-02T23:04:24-06:00</dc:date>
        <title>navigation</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=navigation&amp;rev=1278133464&amp;do=diff</link>
        <description>Home



	*  Working with IDE
	*  Running scripts
	*  Functions
	*  Data Structures
	*  Histograms
	*  Input and Output
	*  Graphical canvases
	*  Plot annotations
	*  Drawing diagrams
	*  Analytical calculations
	*  Geometry
	*  Random numbers
	*  Statistics
	*  Clustering analysis
	*  Neural networks
	*  Data fitting
	*  Metadata
	*  Data mining</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=neuralnet&amp;rev=1269137183&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-03-20T20:06:23-06:00</dc:date>
        <title>neuralnet</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=neuralnet&amp;rev=1269137183&amp;do=diff</link>
        <description>Read the book &quot;Scientific data analysis using Jython scripting and Java for more details.

 --- Sergei Chekanov 2010/03/07 16:37</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=plot_annotations&amp;rev=1278450441&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-06T15:07:21-06:00</dc:date>
        <title>plot_annotations</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=plot_annotations&amp;rev=1278450441&amp;do=diff</link>
        <description>Simple labels

The package jhplot.shapes can be used to display several geometrical
primitives, pictures, including the text labels. All of this works
together with the HPlot canvas.
You cannot interact with the mouse using such labels.

Interactive labels


You can annotate your figure on the HPlot canvas 
putting interactive labels, so you can move them around with the mouse and edit.</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=randomnumbers&amp;rev=1278728645&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-09T20:24:05-06:00</dc:date>
        <title>randomnumbers</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=randomnumbers&amp;rev=1278728645&amp;do=diff</link>
        <description>The jHepWork random numbers can be constructed using several approaches:

	*  The native Java API for random numbers. See the Java “java.util.Random”
	*  The native Python API for random numbers
	*  The native jHepWork  classes (from cern.jet.random or jhplot.math)</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=runningscripts&amp;rev=1274244870&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-18T22:54:30-06:00</dc:date>
        <title>runningscripts</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=runningscripts&amp;rev=1274244870&amp;do=diff</link>
        <description>To  run a Jython script, use  the *run* button from the ToolBar of jHepWork. One can also use the *F8* key for fast execution of a script.
In case of an error, the jHepWork main editor will move the cursor to the appropriate line with error.
Press any key to remove the line highlighting (red color).</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=start&amp;rev=1283400817&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-09-01T22:13:37-06:00</dc:date>
        <title>start</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=start&amp;rev=1283400817&amp;do=diff</link>
        <description>jHepWork tutorial

This is a short tutorial on how to use jHepWork for scientific data analysis. A complete description of how to use Java, Jython and jHepWork for scientific analysis is described in the book Scientific data analysis using Jython and Java published by  Springer Verlag, London, 2010 (by S.V.Chekanov)</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=statistics&amp;rev=1278197918&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-03T16:58:38-06:00</dc:date>
        <title>statistics</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=statistics&amp;rev=1278197918&amp;do=diff</link>
        <description>The package jhplot.stat can be used for descriptive 
analysis of random distributions 

Normalised Factorial Moments (NFM)


As example, let us consider calculations of normalised factorial moments (NFM) for several distributions. They are defined
as</description>
    </item>
    <item rdf:about="http://jwork.org/jhepwork/wikidoc/doku.php?id=working_with_ide&amp;rev=1277566834&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-26T09:40:34-06:00</dc:date>
        <title>working_with_ide</title>
        <link>http://jwork.org/jhepwork/wikidoc/doku.php?id=working_with_ide&amp;rev=1277566834&amp;do=diff</link>
        <description>To  run a Jython script, open a Jython file inside the IDE editor and click on  the *run* button (indicated with the icon  ) from the ToolBar of jHepWork. This executes the script from top to the bottom. The “print” outputs are redirected to the JythonShell (at the bottom of the IDE editor).</description>
    </item>
</rdf:RDF>
