Giter Site home page Giter Site logo

wfmap's Introduction

Wafer Heatmap Visualization

Heatmap sometime could be extremely useful, you can gain intuitive insight from the plot which contains information on both location and distribution, and manage to find potential pattern behind it.

This package is implemented on the top of seaborn, and further customized by matplotlib. It provides an easy way to visualize wafer map data, both numerical and categorical data are supported.

Before you start, you should have some knowledge on pandas and transform your data into pd.DataFrame, then make sure that positional data (x/row,y/col) are included in separate columns and encoded as integer.

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

For demonstration, I generate some dummy data under the /data folder. Let's load the data at first and explore the usage of this package.

import pandas as pd
from wfmap import wafermap
data=pd.read_csv('/data/demo.csv')

To better understand the data, take the first entry for example, it suggests that the Die#0 which located at #11 row and #60 col in wafer map, is OK defined by Defect Code and its Metrics is 84.3.

Numerical Data

'MAP_ROW' and 'MAP_COL' are the default column name for wafer mapping. If you have preprocessed your data as the same format as I did above. The command required could be as simple as follows:

wafermap(data,value='DATA',dtype='num')

DATA FOSSA Status

On the left side of heatmap is the horizontal histogram plot of DATA, with colorized y-axis and invisible x-axis for visual aesthetics.

**Categorical Data **

Similar to above numerical/continuous data, categorical data such as Defect Code CODE can also be visualized as below.

wafermap(data,value='CODE',dtype='cat')

CODE

In addition to the regular heatmap, I put the histogram subplot and pie chart inset on the right half. For the sake of simplicity, only the ratio of top 5 categories will be annotated.

License

FOSSA Status

wfmap's People

Contributors

fossabot avatar imgbotapp avatar xlhaw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.