Create customized heatmaps and trend charts for wafer
Project description
WaferMap Visualization with Heatmap and Trend Charts
This package is built upon matplotlib & seaborn. It provides basic wafer heatmap for numerical & categorical variables, as well as highly customized trend charts regarding to different wafer shot map definitions. You can built your own wafermap on the top of the API provided.
This package only tested under Windows, the aesthetics of charts might be slightly different under Mac/Linux.
Example Gallery
This gallery contains a selection of examples of the plots wfmap created. Basic Usages and API Reference please refer to the Online Docs.
Installation
To install wfmap via PyPI using pip:
pip install wfmap
or build the latest release from Github:
git clone https://github.com/xlhaw/wfmap.git
cd wfmap
python setup.py install
Basic Usage
Before you get started, please have a look at the definition used in this package for wafer mapping. You can modify it refer to your own terminology.
Sample data is shipped within this package, you can load it as following snippet:
from wfmap.data import load_data
data=load_data()
BasePlot
num_heatmap
and cat_heatmap
are core functions used to generate matplotlib.axes
, dealing with numerical & categorical variables respectively. Remain functions provides in packages return matplotlib.figure.Figure
instead.
from wfmap import num_heatmap,cat_heatmap
fig,axs=plt.subplots(1,2,figsize=(8,3))
_=num_heatmap(data,'MRR',ax=axs[0])
_=cat_heatmap(data,'DEFECT',ax=axs[1])
#fig.savefig('BasePlot.png',dpi=200)
WaferMap
WaferMap is a customized plot for numerical variables built with num_heatmap
, beside the basic heatmap, an horizontal distribution plot sits along with the colorbar. For full details please refer to the API Reference.
from wfmap import wafermap
fig=wafermap(data,'HDI_R',wtype='UP3')
DefectMap
DefectMap is a customized plot for categorical variables using cat_heatmap
, which put additional pareto histogram and pie chart aside. For full details please refer to the API Reference
.
from wfmap import defectmap
fig=defectmap(data,'DEFECT')
License
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
Built Distribution
File details
Details for the file wfmap-1.0.3.tar.gz
.
File metadata
- Download URL: wfmap-1.0.3.tar.gz
- Upload date:
- Size: 958.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 382dc4a2349a400d6517608165a56c856381686d975348564de3c76fa96e47ab |
|
MD5 | d644210511bb73db7186a06f23112476 |
|
BLAKE2b-256 | e1d5ae6fe540d7db0bfd2c81d2d33799c5ef4a87b1369bbb18f26b981331de02 |
Provenance
File details
Details for the file wfmap-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: wfmap-1.0.3-py3-none-any.whl
- Upload date:
- Size: 969.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4801fae83bb7e7f710ca4b91a358f315d6a225bddd957766c2e66881671629e6 |
|
MD5 | 80828094b8e11b4d1bdb4595a2b0d912 |
|
BLAKE2b-256 | b23bb5a379b7d62e85a9cdfada33d4076c5f22fe7afb20917a59b2cb66bc0f7c |