casa
5.7.0-16
|
A class to start IDL and execute commands, etc. More...
#include <IDL.h>
Protected Member Functions | |
char * | getIDLName (const casacore::String) |
void | ok () |
A class to start IDL and execute commands, etc.
Public interface
IDL is the class for running IDL from inside AIPS++
We can start IDL, execute commands, send and retreive named arrays, etc using this class. The initial use of this class is to allow Pixon processing to be performed using the IDL code.
Get access to IDL functionality
casa::IDL::IDL | ( | casacore::Int | options = 0 | ) |
The constructor will start IDL.
casa::IDL::IDL | ( | const IDL & | other | ) |
Copy constructor.
casa::IDL::~IDL | ( | ) |
The destructor will stop IDL.
casacore::Array<casacore::Float> casa::IDL::getArray | ( | casacore::String | aname | ) |
Get an array from IDL.
casacore::Float casa::IDL::getFloat | ( | casacore::String | aname | ) |
Get an scalar from IDL.
|
protected |
casacore::Int casa::IDL::getInt | ( | casacore::String | aname | ) |
Get an scalar from IDL.
|
protected |
casacore::Bool casa::IDL::runCommand | ( | const casacore::String & | command, |
casacore::Bool | log = true |
||
) |
Run a single IDL command.
casacore::Bool casa::IDL::runCommands | ( | const casacore::Vector< casacore::String > & | commands, |
casacore::Bool | log = true |
||
) |
Run a sequence of IDL commands.
casacore::Bool casa::IDL::sendArray | ( | const casacore::Array< casacore::Float > & | a, |
casacore::String | aname | ||
) |
Send an array to IDL and name it.
casacore::Bool casa::IDL::setPath | ( | const casacore::Vector< casacore::String > & | ) |
Set the path inside IDL.