This kind of scan is available only at experiments that have the diffractometer software installed.
#!/usr/bin/env perl
use Spectra;
my $status = 1;
#
# omega-2theta scan
#
if( !Spectra::scan( type => "om_tt",
range => 1,
st => 0.2,
np => 11))
{
print " Failed to execute a om_tt scan \n";
$status = 0;
goto finish;
}
if( !Spectra::scan( type => "tt_om",
range => 1,
st => 0.2,
np => 11))
{
print " Failed to execute a tt_om scan \n";
$status = 0;
goto finish;
}
finish:
$status;
If Omega and 2Theta are represented by single motors, this kind of scans can also by executed as a combined-move (CM) scans (non-diffractometer scan), see section 10.9.13.