PyGamLab 0.1.1__tar.gz → 0.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pygamlab-0.1.1 → pygamlab-0.1.3}/PKG-INFO +48 -37
- {pygamlab-0.1.1 → pygamlab-0.1.3}/PyGamLab/__init__.py +1 -1
- {pygamlab-0.1.1 → pygamlab-0.1.3}/PyGamLab.egg-info/PKG-INFO +48 -37
- {pygamlab-0.1.1 → pygamlab-0.1.3}/PyGamLab.egg-info/SOURCES.txt +1 -1
- {pygamlab-0.1.1 → pygamlab-0.1.3}/README.md +47 -36
- {pygamlab-0.1.1 → pygamlab-0.1.3}/pyproject.toml +1 -1
- {pygamlab-0.1.1 → pygamlab-0.1.3}/setup.py +1 -1
- {pygamlab-0.1.1 → pygamlab-0.1.3}/PyGamLab/Constants.py +0 -0
- /pygamlab-0.1.1/PyGamLab/Convertos.py → /pygamlab-0.1.3/PyGamLab/Convertors.py +0 -0
- {pygamlab-0.1.1 → pygamlab-0.1.3}/PyGamLab/Data_Analysis.py +0 -0
- {pygamlab-0.1.1 → pygamlab-0.1.3}/PyGamLab/Functions.py +0 -0
- {pygamlab-0.1.1 → pygamlab-0.1.3}/PyGamLab.egg-info/dependency_links.txt +0 -0
- {pygamlab-0.1.1 → pygamlab-0.1.3}/PyGamLab.egg-info/requires.txt +0 -0
- {pygamlab-0.1.1 → pygamlab-0.1.3}/PyGamLab.egg-info/top_level.txt +0 -0
- {pygamlab-0.1.1 → pygamlab-0.1.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyGamLab
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A scientific Python library with constants, unit convertors, formulas, and data analysis tools.
|
|
5
5
|
Home-page: https://github.com/APMaii/pygamlab/tree/main
|
|
6
6
|
Author: Ali Pilehvar Meibody
|
|
@@ -25,16 +25,21 @@ Dynamic: requires-python
|
|
|
25
25
|
|
|
26
26
|
# PyGamLab
|
|
27
27
|
|
|
28
|
+
<p align="center">
|
|
29
|
+
<img src="pics/pygamlab_logo.png" alt="PyGamLab Logo" width="300"/>
|
|
30
|
+
</p>
|
|
31
|
+
|
|
32
|
+
|
|
28
33
|
**PyGamLab** is a scientific Python library developed for researchers, engineers, and students who need access to fundamental constants, conversion tools, engineering formulas, and data analysis utilities. The package is designed with simplicity, clarity, and usability in mind.
|
|
29
34
|
|
|
30
35
|
---
|
|
31
36
|
|
|
32
37
|
## 📌 Overview
|
|
33
38
|
|
|
34
|
-
**PyGAMLab** stands for *Python GAMLAb tools*, a collection of scientific tools and functions developed at the **GAMLab** by **Ali Pilehvar Meibody** under the supervision of **Prof. Malek Naderi** at
|
|
39
|
+
**PyGAMLab** stands for *Python GAMLAb tools*, a collection of scientific tools and functions developed at the **GAMLab (Graphene and Advanced Material Laboratory)** by **Ali Pilehvar Meibody** under the supervision of **Prof. Malek Naderi** at **Amirkabir University of Technology (AUT)**.
|
|
35
40
|
|
|
36
41
|
- **Author:** Ali Pilehvar Meibody
|
|
37
|
-
- **Supervisor:** Prof. Naderi
|
|
42
|
+
- **Supervisor:** Prof. Malek Naderi
|
|
38
43
|
- **Affiliation:** GAMLab, Amirkabir University of Technology (AUT)
|
|
39
44
|
|
|
40
45
|
---
|
|
@@ -115,7 +120,7 @@ pip install numpy pandas scipy matplotlib seaborn scikit-learn
|
|
|
115
120
|
|
|
116
121
|
## 🚀 Installation
|
|
117
122
|
|
|
118
|
-
To install PyGAMLab via pip
|
|
123
|
+
To install PyGAMLab via pip:
|
|
119
124
|
|
|
120
125
|
```bash
|
|
121
126
|
pip install pygamlab
|
|
@@ -134,49 +139,64 @@ git clone https://github.com/APMaii/pygamlab.git
|
|
|
134
139
|
```python
|
|
135
140
|
import PyGamLab
|
|
136
141
|
|
|
137
|
-
#--------------Constants-----------------------
|
|
138
142
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
+
import PyGamLab.Constants as gamcn
|
|
144
|
+
import PyGamLab.Convertos as gamcv
|
|
145
|
+
import PyGamLab.Functions as gamfunc
|
|
146
|
+
import PyGamLab.Data_Analysis as gamdat
|
|
147
|
+
|
|
143
148
|
|
|
144
|
-
print(PyGamLab.Constants.Boltzmann_Constant)
|
|
145
|
-
print(PyGamLab.Constants.Faraday_Constant)
|
|
146
149
|
|
|
147
|
-
|
|
150
|
+
#--------------Constants-----------------------
|
|
151
|
+
|
|
152
|
+
print(gamcn.melting_point_of_Cu)
|
|
153
|
+
print(gamcn.melting_point_of_Al)
|
|
154
|
+
print(gamcn.Fe_Tm_Alpha)
|
|
155
|
+
print(gamcn.Fe_Tm_Gama)
|
|
148
156
|
|
|
149
|
-
print(
|
|
150
|
-
print(
|
|
151
|
-
print(PyGamLab.Convertos.Angstrom_To_Milimeter())
|
|
152
|
-
print(PyGamLab.Convertos.Bar_To_Pascal())
|
|
157
|
+
print(gamcn.Boltzmann_Constant)
|
|
158
|
+
print(gamcn.Faraday_Constant)
|
|
153
159
|
|
|
154
|
-
#------------Functions-----------------------
|
|
155
160
|
|
|
156
|
-
|
|
161
|
+
#----------Converters------------------------
|
|
157
162
|
|
|
163
|
+
print(gamcv.Kelvin_to_Celcius(300)) # Convert 300 K to °C
|
|
164
|
+
print(gamcv.Coulomb_To_Electron_volt(1)) # Convert 1 Coulomb to eV
|
|
165
|
+
print(gamcv.Angstrom_To_Milimeter(1)) # Convert 1 Å to mm
|
|
166
|
+
print(gamcv.Bar_To_Pascal(1)) # Convert 1 bar to Pascal
|
|
158
167
|
|
|
159
|
-
|
|
168
|
+
#-----------Functions------------------------
|
|
160
169
|
|
|
170
|
+
# Gibb's Free Energy: G = H0 - T*S0
|
|
171
|
+
H0 = 100 # Enthalpy in kJ/mol
|
|
172
|
+
T = 298 # Temperature in Kelvin
|
|
173
|
+
S0 = 0.2 # Entropy in kJ/mol·K
|
|
174
|
+
print(gamfunc.Gibs_free_energy(H0, T, S0))
|
|
161
175
|
|
|
162
|
-
PyGamLab.Functions.Electrical_Resistance(v,i)
|
|
163
176
|
|
|
177
|
+
# Electrical Resistance: R = V / I
|
|
178
|
+
voltage = 10 # in Volts
|
|
179
|
+
current = 2 # in Amperes
|
|
180
|
+
print(gamfunc.Electrical_Resistance(voltage, current))
|
|
164
181
|
|
|
165
|
-
|
|
182
|
+
# Hall-Petch Relationship: σ = σ0 + k / √d
|
|
183
|
+
d_grain = 0.01 # Grain diameter in mm
|
|
184
|
+
sigma0 = 150 # Friction stress in MPa
|
|
185
|
+
k = 0.5 # Strengthening coefficient in MPa·mm^0.5
|
|
186
|
+
print(gamfunc.Hall_Petch(d_grain, sigma0, k))
|
|
166
187
|
|
|
167
188
|
#-----------Data_Analysis--------------------
|
|
168
189
|
import pandas as pd
|
|
169
190
|
|
|
170
191
|
df= pd.read_csv('/users/apm/....../data.csv')
|
|
171
|
-
|
|
172
|
-
my_uts=
|
|
192
|
+
gamdat.Stress_Strain1(df, 'PLOT')
|
|
193
|
+
my_uts=gamdat.Stress_Strain1(df, 'UTS')
|
|
173
194
|
|
|
174
195
|
|
|
175
196
|
data=pd.read_csv('/users/apm/....../data.csv')
|
|
176
|
-
my_max=
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
197
|
+
my_max=gamdat.Xrd_Analysis(data,'max intensity')
|
|
198
|
+
gamdat.Xrd_Analysis(data,'scatter plot')
|
|
199
|
+
gamdat.Xrd_Analysis(data,'line graph')
|
|
180
200
|
```
|
|
181
201
|
|
|
182
202
|
|
|
@@ -195,15 +215,6 @@ pygamlab/
|
|
|
195
215
|
```
|
|
196
216
|
|
|
197
217
|
|
|
198
|
-
---
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
218
|
---
|
|
208
219
|
## 🤝 Contributing
|
|
209
220
|
|
|
@@ -243,7 +254,7 @@ This project is part of the scientific research activities at **GAMLab (Generali
|
|
|
243
254
|
|
|
244
255
|
Special thanks to:
|
|
245
256
|
|
|
246
|
-
- **Prof.
|
|
257
|
+
- **Prof. Malek Naderi** – For his guidance, mentorship, and continuous support.
|
|
247
258
|
- **Ali Pilehvar Meibody** – Main developer and author of PyGamLab.
|
|
248
259
|
- **GAMLab Research Group** – For providing a collaborative and innovative environment.
|
|
249
260
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyGamLab
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A scientific Python library with constants, unit convertors, formulas, and data analysis tools.
|
|
5
5
|
Home-page: https://github.com/APMaii/pygamlab/tree/main
|
|
6
6
|
Author: Ali Pilehvar Meibody
|
|
@@ -25,16 +25,21 @@ Dynamic: requires-python
|
|
|
25
25
|
|
|
26
26
|
# PyGamLab
|
|
27
27
|
|
|
28
|
+
<p align="center">
|
|
29
|
+
<img src="pics/pygamlab_logo.png" alt="PyGamLab Logo" width="300"/>
|
|
30
|
+
</p>
|
|
31
|
+
|
|
32
|
+
|
|
28
33
|
**PyGamLab** is a scientific Python library developed for researchers, engineers, and students who need access to fundamental constants, conversion tools, engineering formulas, and data analysis utilities. The package is designed with simplicity, clarity, and usability in mind.
|
|
29
34
|
|
|
30
35
|
---
|
|
31
36
|
|
|
32
37
|
## 📌 Overview
|
|
33
38
|
|
|
34
|
-
**PyGAMLab** stands for *Python GAMLAb tools*, a collection of scientific tools and functions developed at the **GAMLab** by **Ali Pilehvar Meibody** under the supervision of **Prof. Malek Naderi** at
|
|
39
|
+
**PyGAMLab** stands for *Python GAMLAb tools*, a collection of scientific tools and functions developed at the **GAMLab (Graphene and Advanced Material Laboratory)** by **Ali Pilehvar Meibody** under the supervision of **Prof. Malek Naderi** at **Amirkabir University of Technology (AUT)**.
|
|
35
40
|
|
|
36
41
|
- **Author:** Ali Pilehvar Meibody
|
|
37
|
-
- **Supervisor:** Prof. Naderi
|
|
42
|
+
- **Supervisor:** Prof. Malek Naderi
|
|
38
43
|
- **Affiliation:** GAMLab, Amirkabir University of Technology (AUT)
|
|
39
44
|
|
|
40
45
|
---
|
|
@@ -115,7 +120,7 @@ pip install numpy pandas scipy matplotlib seaborn scikit-learn
|
|
|
115
120
|
|
|
116
121
|
## 🚀 Installation
|
|
117
122
|
|
|
118
|
-
To install PyGAMLab via pip
|
|
123
|
+
To install PyGAMLab via pip:
|
|
119
124
|
|
|
120
125
|
```bash
|
|
121
126
|
pip install pygamlab
|
|
@@ -134,49 +139,64 @@ git clone https://github.com/APMaii/pygamlab.git
|
|
|
134
139
|
```python
|
|
135
140
|
import PyGamLab
|
|
136
141
|
|
|
137
|
-
#--------------Constants-----------------------
|
|
138
142
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
+
import PyGamLab.Constants as gamcn
|
|
144
|
+
import PyGamLab.Convertos as gamcv
|
|
145
|
+
import PyGamLab.Functions as gamfunc
|
|
146
|
+
import PyGamLab.Data_Analysis as gamdat
|
|
147
|
+
|
|
143
148
|
|
|
144
|
-
print(PyGamLab.Constants.Boltzmann_Constant)
|
|
145
|
-
print(PyGamLab.Constants.Faraday_Constant)
|
|
146
149
|
|
|
147
|
-
|
|
150
|
+
#--------------Constants-----------------------
|
|
151
|
+
|
|
152
|
+
print(gamcn.melting_point_of_Cu)
|
|
153
|
+
print(gamcn.melting_point_of_Al)
|
|
154
|
+
print(gamcn.Fe_Tm_Alpha)
|
|
155
|
+
print(gamcn.Fe_Tm_Gama)
|
|
148
156
|
|
|
149
|
-
print(
|
|
150
|
-
print(
|
|
151
|
-
print(PyGamLab.Convertos.Angstrom_To_Milimeter())
|
|
152
|
-
print(PyGamLab.Convertos.Bar_To_Pascal())
|
|
157
|
+
print(gamcn.Boltzmann_Constant)
|
|
158
|
+
print(gamcn.Faraday_Constant)
|
|
153
159
|
|
|
154
|
-
#------------Functions-----------------------
|
|
155
160
|
|
|
156
|
-
|
|
161
|
+
#----------Converters------------------------
|
|
157
162
|
|
|
163
|
+
print(gamcv.Kelvin_to_Celcius(300)) # Convert 300 K to °C
|
|
164
|
+
print(gamcv.Coulomb_To_Electron_volt(1)) # Convert 1 Coulomb to eV
|
|
165
|
+
print(gamcv.Angstrom_To_Milimeter(1)) # Convert 1 Å to mm
|
|
166
|
+
print(gamcv.Bar_To_Pascal(1)) # Convert 1 bar to Pascal
|
|
158
167
|
|
|
159
|
-
|
|
168
|
+
#-----------Functions------------------------
|
|
160
169
|
|
|
170
|
+
# Gibb's Free Energy: G = H0 - T*S0
|
|
171
|
+
H0 = 100 # Enthalpy in kJ/mol
|
|
172
|
+
T = 298 # Temperature in Kelvin
|
|
173
|
+
S0 = 0.2 # Entropy in kJ/mol·K
|
|
174
|
+
print(gamfunc.Gibs_free_energy(H0, T, S0))
|
|
161
175
|
|
|
162
|
-
PyGamLab.Functions.Electrical_Resistance(v,i)
|
|
163
176
|
|
|
177
|
+
# Electrical Resistance: R = V / I
|
|
178
|
+
voltage = 10 # in Volts
|
|
179
|
+
current = 2 # in Amperes
|
|
180
|
+
print(gamfunc.Electrical_Resistance(voltage, current))
|
|
164
181
|
|
|
165
|
-
|
|
182
|
+
# Hall-Petch Relationship: σ = σ0 + k / √d
|
|
183
|
+
d_grain = 0.01 # Grain diameter in mm
|
|
184
|
+
sigma0 = 150 # Friction stress in MPa
|
|
185
|
+
k = 0.5 # Strengthening coefficient in MPa·mm^0.5
|
|
186
|
+
print(gamfunc.Hall_Petch(d_grain, sigma0, k))
|
|
166
187
|
|
|
167
188
|
#-----------Data_Analysis--------------------
|
|
168
189
|
import pandas as pd
|
|
169
190
|
|
|
170
191
|
df= pd.read_csv('/users/apm/....../data.csv')
|
|
171
|
-
|
|
172
|
-
my_uts=
|
|
192
|
+
gamdat.Stress_Strain1(df, 'PLOT')
|
|
193
|
+
my_uts=gamdat.Stress_Strain1(df, 'UTS')
|
|
173
194
|
|
|
174
195
|
|
|
175
196
|
data=pd.read_csv('/users/apm/....../data.csv')
|
|
176
|
-
my_max=
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
197
|
+
my_max=gamdat.Xrd_Analysis(data,'max intensity')
|
|
198
|
+
gamdat.Xrd_Analysis(data,'scatter plot')
|
|
199
|
+
gamdat.Xrd_Analysis(data,'line graph')
|
|
180
200
|
```
|
|
181
201
|
|
|
182
202
|
|
|
@@ -195,15 +215,6 @@ pygamlab/
|
|
|
195
215
|
```
|
|
196
216
|
|
|
197
217
|
|
|
198
|
-
---
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
218
|
---
|
|
208
219
|
## 🤝 Contributing
|
|
209
220
|
|
|
@@ -243,7 +254,7 @@ This project is part of the scientific research activities at **GAMLab (Generali
|
|
|
243
254
|
|
|
244
255
|
Special thanks to:
|
|
245
256
|
|
|
246
|
-
- **Prof.
|
|
257
|
+
- **Prof. Malek Naderi** – For his guidance, mentorship, and continuous support.
|
|
247
258
|
- **Ali Pilehvar Meibody** – Main developer and author of PyGamLab.
|
|
248
259
|
- **GAMLab Research Group** – For providing a collaborative and innovative environment.
|
|
249
260
|
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
# PyGamLab
|
|
2
2
|
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="pics/pygamlab_logo.png" alt="PyGamLab Logo" width="300"/>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
|
|
3
8
|
**PyGamLab** is a scientific Python library developed for researchers, engineers, and students who need access to fundamental constants, conversion tools, engineering formulas, and data analysis utilities. The package is designed with simplicity, clarity, and usability in mind.
|
|
4
9
|
|
|
5
10
|
---
|
|
6
11
|
|
|
7
12
|
## 📌 Overview
|
|
8
13
|
|
|
9
|
-
**PyGAMLab** stands for *Python GAMLAb tools*, a collection of scientific tools and functions developed at the **GAMLab** by **Ali Pilehvar Meibody** under the supervision of **Prof. Malek Naderi** at
|
|
14
|
+
**PyGAMLab** stands for *Python GAMLAb tools*, a collection of scientific tools and functions developed at the **GAMLab (Graphene and Advanced Material Laboratory)** by **Ali Pilehvar Meibody** under the supervision of **Prof. Malek Naderi** at **Amirkabir University of Technology (AUT)**.
|
|
10
15
|
|
|
11
16
|
- **Author:** Ali Pilehvar Meibody
|
|
12
|
-
- **Supervisor:** Prof. Naderi
|
|
17
|
+
- **Supervisor:** Prof. Malek Naderi
|
|
13
18
|
- **Affiliation:** GAMLab, Amirkabir University of Technology (AUT)
|
|
14
19
|
|
|
15
20
|
---
|
|
@@ -90,7 +95,7 @@ pip install numpy pandas scipy matplotlib seaborn scikit-learn
|
|
|
90
95
|
|
|
91
96
|
## 🚀 Installation
|
|
92
97
|
|
|
93
|
-
To install PyGAMLab via pip
|
|
98
|
+
To install PyGAMLab via pip:
|
|
94
99
|
|
|
95
100
|
```bash
|
|
96
101
|
pip install pygamlab
|
|
@@ -109,49 +114,64 @@ git clone https://github.com/APMaii/pygamlab.git
|
|
|
109
114
|
```python
|
|
110
115
|
import PyGamLab
|
|
111
116
|
|
|
112
|
-
#--------------Constants-----------------------
|
|
113
117
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
import PyGamLab.Constants as gamcn
|
|
119
|
+
import PyGamLab.Convertos as gamcv
|
|
120
|
+
import PyGamLab.Functions as gamfunc
|
|
121
|
+
import PyGamLab.Data_Analysis as gamdat
|
|
122
|
+
|
|
118
123
|
|
|
119
|
-
print(PyGamLab.Constants.Boltzmann_Constant)
|
|
120
|
-
print(PyGamLab.Constants.Faraday_Constant)
|
|
121
124
|
|
|
122
|
-
|
|
125
|
+
#--------------Constants-----------------------
|
|
126
|
+
|
|
127
|
+
print(gamcn.melting_point_of_Cu)
|
|
128
|
+
print(gamcn.melting_point_of_Al)
|
|
129
|
+
print(gamcn.Fe_Tm_Alpha)
|
|
130
|
+
print(gamcn.Fe_Tm_Gama)
|
|
123
131
|
|
|
124
|
-
print(
|
|
125
|
-
print(
|
|
126
|
-
print(PyGamLab.Convertos.Angstrom_To_Milimeter())
|
|
127
|
-
print(PyGamLab.Convertos.Bar_To_Pascal())
|
|
132
|
+
print(gamcn.Boltzmann_Constant)
|
|
133
|
+
print(gamcn.Faraday_Constant)
|
|
128
134
|
|
|
129
|
-
#------------Functions-----------------------
|
|
130
135
|
|
|
131
|
-
|
|
136
|
+
#----------Converters------------------------
|
|
132
137
|
|
|
138
|
+
print(gamcv.Kelvin_to_Celcius(300)) # Convert 300 K to °C
|
|
139
|
+
print(gamcv.Coulomb_To_Electron_volt(1)) # Convert 1 Coulomb to eV
|
|
140
|
+
print(gamcv.Angstrom_To_Milimeter(1)) # Convert 1 Å to mm
|
|
141
|
+
print(gamcv.Bar_To_Pascal(1)) # Convert 1 bar to Pascal
|
|
133
142
|
|
|
134
|
-
|
|
143
|
+
#-----------Functions------------------------
|
|
135
144
|
|
|
145
|
+
# Gibb's Free Energy: G = H0 - T*S0
|
|
146
|
+
H0 = 100 # Enthalpy in kJ/mol
|
|
147
|
+
T = 298 # Temperature in Kelvin
|
|
148
|
+
S0 = 0.2 # Entropy in kJ/mol·K
|
|
149
|
+
print(gamfunc.Gibs_free_energy(H0, T, S0))
|
|
136
150
|
|
|
137
|
-
PyGamLab.Functions.Electrical_Resistance(v,i)
|
|
138
151
|
|
|
152
|
+
# Electrical Resistance: R = V / I
|
|
153
|
+
voltage = 10 # in Volts
|
|
154
|
+
current = 2 # in Amperes
|
|
155
|
+
print(gamfunc.Electrical_Resistance(voltage, current))
|
|
139
156
|
|
|
140
|
-
|
|
157
|
+
# Hall-Petch Relationship: σ = σ0 + k / √d
|
|
158
|
+
d_grain = 0.01 # Grain diameter in mm
|
|
159
|
+
sigma0 = 150 # Friction stress in MPa
|
|
160
|
+
k = 0.5 # Strengthening coefficient in MPa·mm^0.5
|
|
161
|
+
print(gamfunc.Hall_Petch(d_grain, sigma0, k))
|
|
141
162
|
|
|
142
163
|
#-----------Data_Analysis--------------------
|
|
143
164
|
import pandas as pd
|
|
144
165
|
|
|
145
166
|
df= pd.read_csv('/users/apm/....../data.csv')
|
|
146
|
-
|
|
147
|
-
my_uts=
|
|
167
|
+
gamdat.Stress_Strain1(df, 'PLOT')
|
|
168
|
+
my_uts=gamdat.Stress_Strain1(df, 'UTS')
|
|
148
169
|
|
|
149
170
|
|
|
150
171
|
data=pd.read_csv('/users/apm/....../data.csv')
|
|
151
|
-
my_max=
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
172
|
+
my_max=gamdat.Xrd_Analysis(data,'max intensity')
|
|
173
|
+
gamdat.Xrd_Analysis(data,'scatter plot')
|
|
174
|
+
gamdat.Xrd_Analysis(data,'line graph')
|
|
155
175
|
```
|
|
156
176
|
|
|
157
177
|
|
|
@@ -170,15 +190,6 @@ pygamlab/
|
|
|
170
190
|
```
|
|
171
191
|
|
|
172
192
|
|
|
173
|
-
---
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
193
|
---
|
|
183
194
|
## 🤝 Contributing
|
|
184
195
|
|
|
@@ -218,7 +229,7 @@ This project is part of the scientific research activities at **GAMLab (Generali
|
|
|
218
229
|
|
|
219
230
|
Special thanks to:
|
|
220
231
|
|
|
221
|
-
- **Prof.
|
|
232
|
+
- **Prof. Malek Naderi** – For his guidance, mentorship, and continuous support.
|
|
222
233
|
- **Ali Pilehvar Meibody** – Main developer and author of PyGamLab.
|
|
223
234
|
- **GAMLab Research Group** – For providing a collaborative and innovative environment.
|
|
224
235
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "PyGamLab"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.3"
|
|
8
8
|
description = "A scientific Python library with constants, unit convertors, formulas, and data analysis tools."
|
|
9
9
|
authors = [
|
|
10
10
|
{ name="Ali Pilehvar Meibody", email="ai.2024.pilehvar@Gmail.com" }
|
|
@@ -5,7 +5,7 @@ from setuptools import setup, find_packages
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="PyGamLab",
|
|
8
|
-
version="0.1.
|
|
8
|
+
version="0.1.3",
|
|
9
9
|
author="Ali Pilehvar Meibody",
|
|
10
10
|
author_email="your_email@example.com",
|
|
11
11
|
description="A scientific Python library with constants, unit convertors, formulas, and data analysis tools.",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|