ARCS beta windows binary installer-allinone

From DANSE

Table of contents

Prerequisites

Hardware

A fast PC with a huge memory is necessary. For a full reduction of Pharos data involving three data files (main sample, empty can, and calibration), 3G memory is recommended. With smaller data files, It is possible to be running OK on a 2GB PC. But 3GB or more is recommended. A reduction involving only the main sample dataset will require about 800MB memory.

Software

Python packages

Please download windows installers for those packages and install them by double clicking and following instructions.

  • Python 2.4 (http://www.python.org)
  • Numeric Python (http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=1351)

Install

  • Download here (http://www.cacr.caltech.edu/projects/ARCS/bdist/arcs-beta.win32-py2.4.all.exe)
  • Double click the downloaded file and follow instructions

Set up environment variables

After installation, there should be a file named configureARCS.bat under

%PYTHON_DIR%\Scripts

where %PYTHON_DIR% is the installation path of python. Usually it is sth like c:\Python24.

First, let us open a command window by clicking

start --> Run

In the pop up window, type in

cmd

And then click the

OK

button. A command line window will show up.

In the window, please type in

set PYTHON_DIR=C:\Python24

and then we can run the batch file by

%PYTHON_DIR%\Scripts\configureARCS.bat

The "bat" file sets up some env variables. You could add those variables into your system env variables, or you can run that batch file every time you start a command line window.

Run

For a test,

First, make sure you have data:

cd into

%PYTHON_DIR%\arcs-0.1.0a\resources\reduction\Pharos\data

and unzip the data files (*.gz) there (maybe you need software like winzip. or you can use cygwin and run gunzip in command line)

Second, make sure you have the detector definition file (still under directory %PYTHON_DIR%\arcs-0.1.0a\resources\reduction\Pharos\data):

copy ..\PharosDefinitions.txt .

and then you can run the reduction application:

PharosReduction_v2.py

If everything goes fine, you should be able to look at the reduced S(Q,E) by

 PlotSqe.py

Want more movies?

Please go to ARCS_beta_applications

Personal tools
Document Uploads/Links