eamontoyaa / pysigmap Goto Github PK
View Code? Open in Web Editor NEWOpen source application software in Python3 for calculating the preconsolidation pressure.
License: Other
Open source application software in Python3 for calculating the preconsolidation pressure.
License: Other
Is there any way to apply pySigmaP for the evaluation of oedometer tests, in which there is a second reloading after the second unloading ?
If I load a dataset with a second reloading, the follow error occurs
ValueError: "x" must be strictly increasing sequence.
Removing the data of the second reloading from the rawdata does resolve that issue, but if possible, I would like to keep the dataset for the evaluation complete.
Thanks in advance!
Tried to determine the preconsolidation pressure from oedometer test data. However the test data only had one loading and an unloading stage. The program does not seem to be able to run with such data throwing up and index error (below). It is reasonably frequent that reloading is not specified in the industry, therefore having a function to run without reloading curve would be useful.
FYI - I tested the code with the testData.csv provided and removing the reloading stage from that data resulted in the same error message.
brkIdx1 = idx_unloading_init[self.use_this_UR_stage]
IndexError: list index out of range
Dataframe:
Effective_Vertical_Stress Axial_Strain Void_Ratio
0 123.0 0.0 0.791
1 251.0 0.0 0.749
2 498.0 0.0 0.723
3 1001.0 0.0 0.674
4 2002.0 0.0 0.612
5 3999.0 0.0 0.548
6 8002.0 0.0 0.464
7 15999.0 0.0 0.357
8 29001.0 0.0 0.246
9 7248.0 0.0 0.141
10 1814.0 0.0 0.222
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from pysigmap.data import Data
from pysigmap.boone import Boone
input_data = r'XXXXXXXXXXXXXXX'
data_frame = pd.read_csv(input_data)
print(data_frame)
data = Data(data_frame, sigmaV=75)
method = Boone(data)
fig = method.getSigmaP()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.