|NRAO Home > CASA > CASA Toolkit Reference Manual||
1.2.1 Check if a component is physically plausible
The isphysical function is used to check if the specified components meet a number of criteria that must be true if the component could be used to model a physical process. These criteria are:
- I >=
- That the flux, when represented using the Stokes representation, has a zero imaginary value.
The “Flux properties” section of the ComponentModels module documentation describes how it is possible to generate a component which has non-zero imaginary value in the Stokes representation.
It is possible to check a number of components at once by specifying the indicies of all the components. The returned value will only be True if all the specified components are physical.
A vector of indices Indices must be between 0 and one less than the list length, inclusively
cl2 = cltool()
cl2.setflux(1, value=[10, 1+3j, 1-4j, 0], polarization="linear");
More information about CASA may be found at the CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.