cmudrc / AddLat2D

The purpose of AddLat2D is to create a dataset of 2D lattice cells based on a specified image size and list of density values. The final output is a CSV file with columns containing the arrays of the images, the 'Density’ value, and the respective 'Thickness’ values that define the shape, and a visualization of the data distribution.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

title emoji colorFrom colorTo sdk sdk_version app_file pinned
AddLat2D
😻
purple
blue
streamlit
1.17.0
app.py
false

Use the following code to load items in the 2D_Lattice.csv file import pandas as pd import json df = pd.read_csv('2D_Lattice.csv') row = 0 box = df.iloc[row,1] array = np.array(json.loads(box))

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

About

The purpose of AddLat2D is to create a dataset of 2D lattice cells based on a specified image size and list of density values. The final output is a CSV file with columns containing the arrays of the images, the 'Density’ value, and the respective 'Thickness’ values that define the shape, and a visualization of the data distribution.

License:MIT License


Languages

Language:Python 100.0%