Polyxsim simulates diffraction images from polycrystals. This getting started guide will explain how to quickly get a workbench which looks like this :
We assume that you have downloaded the latest version of Polyxsim from the FABLE Sourceforge download site and unzipped it in a directory we will refer to as $POLYXSIM_HOME from now on.
In the $POLYXSIM_HOME directory you should find a script for your platform to start imageviewer :
Windows – run_polyxsim.bat
Linux – run_polyxsim.sh
MacOSX – run_polyxsim.macosx
The script should find where polyxsim is installed on its own. If not you must modify this script to make the POLYXSIM_HOME variable be correct i.e. point to the directory where you unzipped polyxsim.
You also need Java 1.5 or 1.6 installed on your
system and make sure it is in your PATH. You can download Java from
here. You
can test the version of Java you have by opening a shell or command
line window and typing java -version. You should see something like
this :
goetz@eclipse:~
$ java -version
java version "1.5.0_11"
Java(TM) 2
Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java
HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
You must also install Python 2.5 and make sure it is in your path. You can test this by opening a console window or shell and typing python. You should see something like this :
goetz@eclipse:~ $
python
Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)
[GCC
4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help",
"copyright", "credits" or "license" for
more information.
>>>
Start polyxsim by clicking on the batch file or running the shell script. You should see the standard polyxsim startup splash screen and then the polyxsim workbench window :
If you have problems refer to the Troubleshooting section.