|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
sd.mask_and - Function
5.1.1 Logical operation function on array
Description
This is an utility function that performs logical ’and’ operation on specified
two boolean arrays in element-by-element manner. Input arrays should have
same length.
Arguments
Inputs |
| ||
a |
| Input boolean array
| |
| allowed: | bool array |
|
| Default: |
|
|
b |
| Input boolean array
| |
| allowed: | bool array |
|
| Default: |
|
|
bool array
Example
b=[True,True,False]
sd.mask_and(a,b)
[True,False,False]
More information about CASA may be found at the
CASA web page
Copyright © 2016 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search