Concentration computation in % is added : (Ctot_fine / Ctot) and (Ctot_sand / Ctot)
parent
0682bfd817
commit
3c9ac57920
|
|
@ -32,10 +32,15 @@ class GranuloLoader:
|
|||
|
||||
self._frac_vol_sand_cumul = np.cumsum(self._frac_vol_sand, axis=1) # Cumulated volume fraction (%)
|
||||
|
||||
# --- Compute % of fine and % of sand sediment in total concentration ---
|
||||
|
||||
self._Ctot_fine_per_cent = 100 * self._Ctot_fine / (self._Ctot_fine + self._Ctot_sand)
|
||||
self._Ctot_sand_per_cent = 100 * self._Ctot_sand / (self._Ctot_fine + self._Ctot_sand)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
GranuloLoader("/home/bmoudjed/Documents/3 SSC acoustic meas project/Graphical interface project/Data/Granulo_data/"
|
||||
"fine_sample_file.ods",
|
||||
"/home/bmoudjed/Documents/3 SSC acoustic meas project/Graphical interface project/Data/Granulo_data/"
|
||||
"fine_sample_file.ods")
|
||||
"sand_sample_file.ods")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue