Skip to content

Commit edc8df8

Browse files
committed
update
1 parent 85c6e30 commit edc8df8

3 files changed

Lines changed: 7 additions & 105 deletions

File tree

FlowCyPy/fluidics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from FlowCyPy.scatterer_collection import ScattererCollection
66
from FlowCyPy import population # noqa: F401
7-
from FlowCyPy.fluorescence import Dye, SurfaceDensityLabeling # noqa: F401
87
from FlowCyPy.simulation_settings import SimulationSettings # noqa: F401
98
from FlowCyPy.binary.flow_cell import FlowCell # noqa: F401
109
from FlowCyPy.binary import distributions # noqa: F401

FlowCyPy/fluorescence.py

Lines changed: 0 additions & 89 deletions
This file was deleted.

FlowCyPy/population.py

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,11 @@ def add_property_to_frame(self, dataframe, sampling: Dimensionless) -> tuple:
272272
(core_diameter, shell_thickness, refractive_index_core, refractive_index_shell).
273273
"""
274274

275-
core_diameter_sample = self.core_diameter.generate(sampling)
276-
shell_thickness_sample = self.shell_thickness.generate(sampling)
277-
core_refractive_index_sample = self.core_refractive_index.generate(sampling)
278-
shell_refractive_index_sample = self.shell_refractive_index.generate(sampling)
279-
medium_refractive_index_sample = self.medium_refractive_index.generate(sampling)
275+
core_diameter_sample = self.core_diameter.sample(sampling)
276+
shell_thickness_sample = self.shell_thickness.sample(sampling)
277+
core_refractive_index_sample = self.core_refractive_index.sample(sampling)
278+
shell_refractive_index_sample = self.shell_refractive_index.sample(sampling)
279+
medium_refractive_index_sample = self.medium_refractive_index.sample(sampling)
280280

281281
sampled_data = {
282282
"CoreDiameter": core_diameter_sample,
@@ -306,16 +306,8 @@ def get_effective_concentration(self):
306306
if SimulationSettings.population_cutoff_bypass:
307307
return self.concentration
308308

309-
core_diameter_sample = self.core_diameter.sample(10_000)
310-
shell_thickness_sample = self.shell_thickness.sample(10_000)
311-
overall_diameter_sample = core_diameter_sample + 2 * shell_thickness_sample
312-
313-
p_core_diameter = self.core_diameter.proportion_within_cutoffs(
314-
core_diameter_sample
315-
)
316-
p_shell_thickness = self.shell_thickness.proportion_within_cutoffs(
317-
shell_thickness_sample
318-
)
309+
p_core_diameter = self.core_diameter.proportion_within_cutoffs()
310+
p_shell_thickness = self.shell_thickness.proportion_within_cutoffs()
319311
p_core_RI = self.core_refractive_index.proportion_within_cutoffs()
320312
p_shell_RI = self.shell_refractive_index.proportion_within_cutoffs()
321313

0 commit comments

Comments
 (0)