Metadata-Version: 2.1
Name: ciatta
Version: 1.0.1
Summary: Analyzes CSV files for stress and strain
License: MIT
Author: Paride Azzari
Author-email: paride21azzari@gmail.com
Requires-Python: >=3.10,<3.13
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: colorama (>=0.4.4,<0.5.0)
Requires-Dist: fsspec (>=2023.9.1,<2024.0.0)
Requires-Dist: matplotlib (>=3.8.0,<4.0.0)
Requires-Dist: numpy (>=1.26.0,<2.0.0)
Requires-Dist: pandas (>=2.1.1,<3.0.0)
Requires-Dist: scipy (>=1.12.0,<2.0.0)
Description-Content-Type: text/markdown

Python Package to extract information about the Stress, Strain and Young Modulus from a set of `.TRA` files

# Set up Instructions

Run the following command in the conda/miniconda terminal to install the package:
`pip install ciatta` 

Import the package in your Jupyter project or Python script:
`import ciatta`


# Available commands:
**Analyze a whole directory**
`ex.analyzeDirectory(folder_path, cut_off = True, sample_thickness = 10)` 
plots all the `.csv` files in the given directory. 


returns a pandas DataFrame containing 

Arguments:
- `folder_path` can be left empty to analyze the current working directory (e.g. `ciatta.analyzeDirectory()` )
- `folder_path` can be a relative path to a folder within the current working directory (e.g. `ciatta.analyzeDirectory('data')` )
- `folder_path` can be the absolute path (e.g. `ciatta.analyzeDirectory('C:\Users\Desktop\data')` )

# Mathematical Formulas


`Young Modulus` = slope of the best line fit for the curve

`Intercept` = the incercet of the previous fit


