Does anyone know the python code to calculate D10, D50 and D90 from %retain of sieves? Thank you.
import numpy as np
sieve_sizes = np.array([#YOUR DATA])
percent_retained = np.array([#YOUR DATA PERCENTAGES])
sieve_sizes_with_zero = np.append(sieve_sizes, 0) percent_passing_with_zero = np.append(percent_passing, 100)
def find_d_value(percent_passing, sieve_sizes, desired_percent_passing): return np.interp(desired_percent_passing, percent_passing[::-1], sieve_sizes[::-1])
d10 = find_d_value(percent_passing_with_zero, sieve_sizes_with_zero, 10) d50 = find_d_value(percent_passing_with_zero, sieve_sizes_with_zero, 50) d90 = find_d_value(percent_passing_with_zero, sieve_sizes_with_zero, 90)
print(f"D10: {d10} µm") print(f"D50: {d50} µm") print(f"D90: {d90} µm")
try this one I hope you will find it helpful.
sieve_sizes = np.array(#Data)
percent_retain = np.array(#Data_Percentage)
cumulative_percentage = np.cumsum(percent_retain)
index_d10 = np.argmax(cumulative_percentage >= 10)
index_d50 = np.argmax(cumulative_percentage >= 50)
index_d90 = np.argmax(cumulative_percentageTry >= 90)
# Corresponding sieve sizes
d10 = sieve_sizes[index_d10]
d50 = sieve_sizes[index_d50]
d90 = sieve_sizes[index_d90]
print(f"D10: {d10} µm")
print(f"D50: {d50} µm")
print(f"D90: {d90} µm")
Try this One I hope this is helpful.
i am unable to interpret why its increases in start as shown in figure
11 August 2024 2,175 1 View
Visual Studio Code (VS Code) has become a popular choice among developers for several reasons: 1. **Free and Open Source**: VS Code is free to use and open source, making it accessible to...
07 August 2024 7,009 4 View
I have face this problem anyone help me how to solve this issue ?which is below Fatal error: There are inconsistent shifts over periodic boundaries in a molecule type consisting of 78 atoms. The...
07 August 2024 2,597 1 View
A Markov-like Model for Patient Progression" Markov Chain Monte Carlo (MCMC) Markov Chain Monte Carlo (MCMC) is a powerful computational technique used to draw samples from a probability...
05 August 2024 10,079 0 View
It's an end-point PCR protocol. I'm using 1.5% agarose gel with SyBR Safe dye and TBE as a running buffer, visualization on BioRad XR+ system. I was primarily thinking of primer efficiency,...
01 August 2024 4,671 4 View
I am currently working on modeling FCC catalyst regeneration and have come across a point of uncertainty that I hope you can assist me with. In my previous models, I have utilized lumped kinetics...
30 July 2024 6,135 0 View
I'm a PhD Student. From Northwest Agriculture and Forestry University China. My Problem is this I start my work on bhlh79 transcription factor gene. I do my Y2H 5 time but the colonies appear on...
30 July 2024 1,411 8 View
I have not addede any paper yet but it has selected 3 papers which are not mine in my account. i want to delete that information. please help me
30 July 2024 3,742 0 View
Kao's panel cointegration tests , is there anyone willing to explain me the eviews-9 output for the Kao's panel cointegration tests?
23 July 2024 5,051 4 View
Please inform me about the International Conference on Plant Molecular Biology, or Plant Biology, scheduled for December 2024, January/February, or March 2025.
14 July 2024 3,117 7 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,427 2 View
I need to model an anisotropic material in which the Poisson's ratio ν_12 ≠ ν_21 and so on. Therefore, the elastic compliance matrix wouldn't be a symmetric one. In ANSYS APDL, for TB,ANEL...
09 August 2024 5,047 2 View
Request Python code from this article : Gender equity of authorship in pulmonary medicine over the past decade. THANKS!
08 August 2024 6,241 2 View
I received an e-mail invitation to join the editorial board of Clinical Cardiology Updates. While I have published a few articles related to cardiovascular disease, there are lots of colleagues...
06 August 2024 8,980 8 View
I need the python code to forecast what crop production will be in the next decade considering climate and crop production variables as seen in the attached.csv file.
05 August 2024 2,976 3 View
Hello everyone, I am currently working on a research project that aims to integrate machine learning techniques into an open source SIEM tool to automate the creation of security use cases from...
04 August 2024 3,192 2 View
average particle size calculation from TEM
04 August 2024 2,920 1 View
TEP presentation caption (The Environmental Project) Re: Why should Washington’s DC, or any country government point of location think of as nowadays of as to being 'tomorrow as to come! if it...
03 August 2024 2,483 1 View
Dear Researchers I need to know, how to load and plot 2D-PIV (particle image velocimetry) recorded velocity vector field data in Tecplot? Thank You
02 August 2024 3,615 1 View