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
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pywoc-0.1.0.tar.gz.
File metadata
- Download URL: pywoc-0.1.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a688d0bbb74578f70236ef5c16a906483168e1bbbfa18312bfc6b7c05d578a0b
|
|
| MD5 |
094d7c7ba4e519f2cc00ed5f7525597a
|
|
| BLAKE2b-256 |
97eb1d75064ab79a2085d4ccd143b2772ecc813a2465729a440fc1218934e94a
|
File details
Details for the file pywoc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pywoc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
013234dc24d71a8dd668532598036fec6ce09af67c0a137e014cc465c83b4662
|
|
| MD5 |
e71340fdbd7ef65849e9352f1447086f
|
|
| BLAKE2b-256 |
e23719b5359519dea1001aaf4274cbda371c4a5530d5cda915d30bf9fad2e225
|