Metadata-Version: 2.1
Name: pywoc
Version: 0.1.0
Summary: 2-D comparison
Home-page: https://github.com/csabiu/woc
Author: Cristiano Sabiu
Author-email: csabiu@gmail.com
License: GNU GPL v3 License
Keywords: woc,spatial statistics,statistics,python
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Education
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
License-File: LICENSE

# 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

Install
-------

!pip install git+https://github.com/csabiu/WOC.git

or

pip install pywoc

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)

revision history
----------------

0.0.1 - initial code release
0.1.0 - added python notebook tutorial under /nb


