You are here:
NRAO Public Wiki
>
ALMA Web
>
TWikiUsers
>
ToddHunter
>
CasaExtensions
>
NonzeroPixels
(2016-06-02,
ToddHunter
)
Edit
w
iki text
Edit
Attach
P
rint version
nonzeroPixels
Return to directory of Todd's CASA extensions
Counts the number of pixels with non-zero values. Should
not
be run on a large cube! Will run out of memory.
Usage:
au.nonzeroPixels(img, applymask=True, returnPositiveNegativeCounts=False)
Inputs:
returnPositiveNegativeCounts
if True, return 2 values: the numter of positive pixels and the number negative pixels; if False, just return the combined total
--
ToddHunter
- 2016-06-02
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew wiki text
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 2016-06-02,
ToddHunter
ALMA
Log In
Register
ALMA Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
Webs
ALMA
NAASC
SCIIPT
CDL
CICADA
Ccs
Littlethings
Cville
DSAA
EVLA
FASR
GB
Computing
Data
Dynamic
Electronics
Gbtpipeline
Knowledge
Mechanical
Observing
WbandVLBACal
Obsreports
Operate
PTCS
OOF
ServoImprovementsHome
ServoSiteAcceptTestProcs
Pennarray
Projects
Recreation
Scicenter
Skynet
Software
CLEO
StaffEvents
TACTool
HPC
JVLA
KPAF
Library
Main
Metrics
NGVLA
NM
Computing
Electronics
OSAA
OSX
SRDP
Software
Algorithms
CASA
Splat
System
VLBA
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki?
Send feedback