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.
Could you please recommend some good journal that accept very long revie papers (approximately 6000+ words) in neurosurgery, cancer biology ?
01 March 2021 8,087 3 View
There is huge pressure of getting good impact factor on scholars now a days. On the other hand Taxonomy is a very dry subject and the concerned papers can only get citation in same group of organism.
26 February 2021 5,851 1 View
Greetings, I want to make SDS PAGE for my sample (Tick salivery gland extract), I tried concentrations 10%, 12%. I also tried high molecular weight ladder. But the protein stopped at the top and...
25 February 2021 7,698 3 View
I am trying to better understand the scope of DNA replication and sequencing errors, e.g. 1. I have seen similar error rates of 10e4 to 10e5 for cell & instrumental DNA replication,...
24 February 2021 4,397 3 View
Using GDB, it is straightforward to debug and monitor a target program by setting a break-point at a specific instruction, since the instruction addresses are known. However, we have two...
24 February 2021 1,598 2 View
Hello, I will start performing MLR using lymphocytes from mice's spleen and I would like to know the better way for the stimulation. If is using PHA-P or CD3/CD28? I would like to know as well if...
23 February 2021 5,476 4 View
For my experiments, I have to express ectodomains of human CD28 and CD3z. As a source, I extracted RNA from Jurkat cells and verified the quality of RNA on the gel. I, then, prepared cDNA using...
23 February 2021 7,051 4 View
Colleagues, I have been using ANSYS to model concrete strengthened FRP sheets, but less than happy with it. Any has recommendation for efficient, easy to use FE program for modelling concrete...
22 February 2021 7,528 3 View
Peat possess organic content above 75% and is highly acidic in nature (i.e. pH < 4). Before commencing stabilization, it is mandatory to know about the pH level of peat. Therefore, your...
18 February 2021 9,424 7 View
I wanted to calculate the probability of one consumer shifting from using a petroleum-fueled vehicle to an electric vehicle. Since my background is in engineering I do not know much about how to...
15 February 2021 9,190 5 View
I have dataset which shows the length of power lines. I need to classify the lines based on the line length. Is there a rule to classify the High voltage (HV) and low voltage (LV) lines based on...
03 March 2021 4,116 4 View
Hello all, In SPSS I am going to code 2 open-ended questions. I have already read all the answers and I made a list of the most important categories to which I can code the answers. This question...
02 March 2021 1,757 4 View
Hi, I am trying to construct a multi-layer fibril structure from a single layer in PyMol by translating the layer along the fibril axis. For now, I am able to use the Translate command in PyMol...
02 March 2021 4,569 4 View
Hello, I am currently working on simulating water droplet partciles in a closed room. When I use uniform particles, without "particle break-up", I can carry out the simulation without any problem....
02 March 2021 3,053 2 View
Hello! I'll do a size exclusion chromatography, but I only have an open column, and I'll perform the peptide extraction from yeast, using buffer lysis (sodium phosphate 50 mM/NaCl 30 mM/DNAse and...
01 March 2021 2,215 2 View
I want to do a parameter study of a aixsymmetric cylinder in Abaqus. I want to create several jobs where I get the stresses for 3 different points in my model. These points are defined. I wrote a...
01 March 2021 10,078 1 View
01 March 2021 3,905 5 View
I personally feel this as a most confusing question. As per my understanding, if sample size is > 30, and sample is skewed, we can still use paramteric approach, as it will follow Z...
01 March 2021 1,587 6 View
Which is suitable for use with Python? MySQL or SQL Server? What is your suggestion?
01 March 2021 3,422 3 View
Pls share your thoughts
01 March 2021 7,330 4 View