NRAO Home > CASA > CASA Toolkit Reference Manual
sd.mask_or - Function

5.1.1 Logical operation function on array
Description

This is an utility function that performs logical ’or’ 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:





Returns
bool array

Example

   a=[True,False,False]  
   b=[True,True,False]  
   sd.mask_or(a,b)  
   [True,True,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