For Unices (Tested on Linux and Mac OS X)
Install the IDL astrolib library (available here)
Download the package 3d_reduction_package.tgz.
Uncompress the 3d reduction package into your favorite directory.
Add this directory to your !path variable (can be done through the IDL_STARTUP script).
Go into this directory and start idl.
At the idl prompt, type « build_baryc ». This will compile and install the baryc C submodule.
Add this line to your IDL_STARTUP script (after setting your !path) :
dlm_register, my_filepath('baryc.dlm', root=!make_dll.compile_directory)
Exit idl and restart it.
To test if the DLM is working fine, type this :
print, baryc(findgen(100))
You should get an output that looks like this:
% Loaded DLM: BARYC. 74.7072 49.8021 2988.12 19.0000 11.2546 29.6776 68.8021 39.0000 99.0000
This means that baryc is loading and it is working.
You can now use the data reduction package. The entry point is computeeverything.
Read the doc (available only in french for now).
For Windows
Install the IDL astrolib library (available here)
Download the package 3d_reduction_package.tgz.
Uncompress the 3d reduction package into your favorite directory.
Add this directory to your idl_path variable (can be done throught the File, Preferences, Paths).
In the directory you created, there should be a package named baryc_compiled_windows.tgz. Uncompress it. You can safely uncompress it in the same directory as the reduction package.
Add this line to your IDL_STARTUP script (if you don't have one, set one in File, Preferences, Startup) :
dlm_register, my_filepath('baryc.dlm', root='C:\any_subdir\my_favorite_directory\')
Exit idl and restart it.
To test if the DLM is working fine, type this :
print, baryc(findgen(100))
You should get an output that looks like this:
% Loaded DLM: BARYC. 74.7072 49.8021 2988.12 19.0000 11.2546 29.6776 68.8021 39.0000 99.0000
This means that baryc is loading and it is working.
You can now use the data reduction package. The entry point is computeeverything.
Read the doc (available only in french for now).