Importing Intensity information and slopes data into Matlab
If you save the wavefront in the HASO standard format *.has you can get intensity information and slopes data in the following manner:
The *.has files are saved in an xml-like format (see below) and the slopes information is a simple table in the unit mrad.
If you use Matlab, just jump to the line after <slopes-X> and read out the table (discard the <line>, <\line> markers).
<line>NaN -2.094463 -1.967335 -1.841566 ...
<line>NaN -2.096039 ...
The same goes for the y-slopes, pupil and intensity information.