Metadata-Version: 2.4
Name: alloylens
Version: 0.0.2
Summary: Interactive SPLOM widget for high-throughput alloy inverse design
License-Expression: MIT
Project-URL: Homepage, https://github.com/susiesyli/alloylens
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: anywidget>=0.9.0
Requires-Dist: ipywidgets>=8
Requires-Dist: pandas>=1.5
Requires-Dist: numpy>=1.23
Dynamic: license-file

# AlloyLens

## Introduction

AlloyLens is an interactive visualization tool for visualizing and exploring high dimensional, high throughput alloy data. AlloyLens uses a novel framework to allow for real-time steering and exploration of data for inverse material design.

### Python

Installation with `pip`

```
pip install alloylens
```

### Usage:

```python
import alloylens as al

# Load alloy dataset

df = pd.read_csv("./Rapid_Alloy_development.txt")

# Define feature groups

all_cols = df.columns.tolist()
element_cols = all_cols[6:18]
microstructure_cols = all_cols[18:56]
property_cols = all_cols[56:70]

groups = {
"elements": element_cols,
"microstructures": microstructure_cols,
"properties": property_cols,
}

# Run alloylens

app = al.AlloyLensApp(df, groups, x="elements", y="properties")
app

```
