2-D comparison
Project description
# WOC Weighted Overlap Coefficient
Python code to calculate the weighted overlap coefficient between 2 fields while considering masking. Please cite J. Yoo et.al., (APJS, in prep 2022) arXiv:xxxx.xxxx
Intsall
!pip install git+https://github.com/csabiu/WOC.git
Running
woc(map1,map2,radii, mask=mask)
map1 is the 2D array of pixel values map2 should be same shape as map1 radii is the array of radius values used to select the contours from map1 eg [100,200,300] in pixel units
optional: mask is the array used to mask both maps (0=masked, 1=unmasked)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywoc-0.0.1.tar.gz
(15.8 kB
view hashes)
Built Distribution
pywoc-0.0.1-py3-none-any.whl
(19.0 kB
view hashes)