argiope/materials.py
def get_plastic_table(self):
     """
     Calculates the plastic data
     """
     K = self.consistency
     sy = self.yield_stress
     n = self.hardening_exponent
     eps_max = self.max_strain
     Np = self.strain_data_points
     plastic_strain = np.linspace(0., eps_max, Np)
     stress = sy + K * plastic_strain**n 
     return pd.DataFrame({"stress": stress, 
                          "plastic_strain": plastic_strain})
def get_plastic_table(self):
     """
     Calculates the plastic data
     """
     K = self.consistency
     sy = self.yield_stress
     n = self.hardening_exponent
     eps_max = self.max_strain
     Np = self.strain_data_points
     plastic_strain = np.linspace(0., eps_max, Np)
     stress = sy + K * plastic_strain**n 
     return pd.DataFrame({"stress": stress, 
                          "plastic_strain": plastic_strain})
Calculates the plastic data