Skip to content

Commit 4436239

Browse files
committed
1 parent eebf224 commit 4436239

106 files changed

Lines changed: 1635 additions & 986 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/main/_downloads/08259e68fc838871e73e49dc5a3a2eb1/phasorpy_cursor.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"outputs": [],
2424
"source": [
25-
"from phasorpy.color import CATEGORICAL\nfrom phasorpy.cursor import (\n mask_from_circular_cursor,\n mask_from_elliptic_cursor,\n mask_from_polar_cursor,\n pseudo_color,\n)\nfrom phasorpy.datasets import fetch\nfrom phasorpy.io import signal_from_lsm\nfrom phasorpy.phasor import phasor_from_signal, phasor_threshold\nfrom phasorpy.plot import PhasorPlot, plot_image"
25+
"from phasorpy.color import CATEGORICAL\nfrom phasorpy.cursor import (\n mask_from_circular_cursor,\n mask_from_elliptic_cursor,\n mask_from_polar_cursor,\n pseudo_color,\n)\nfrom phasorpy.datasets import fetch\nfrom phasorpy.filter import phasor_threshold\nfrom phasorpy.io import signal_from_lsm\nfrom phasorpy.phasor import phasor_from_signal\nfrom phasorpy.plot import PhasorPlot, plot_image"
2626
]
2727
},
2828
{
Binary file not shown.

docs/main/_downloads/19abb37e5abbed9bd2dd4b38aeb4ea74/phasorpy_multidimensional.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"outputs": [],
2424
"source": [
25-
"import numpy\nfrom matplotlib import pyplot\n\nfrom phasorpy.color import CATEGORICAL\nfrom phasorpy.cursor import mask_from_circular_cursor, pseudo_color\nfrom phasorpy.datasets import fetch\nfrom phasorpy.io import signal_from_fbd, signal_from_lsm\nfrom phasorpy.lifetime import phasor_calibrate\nfrom phasorpy.phasor import (\n phasor_filter_median,\n phasor_from_signal,\n phasor_threshold,\n)\nfrom phasorpy.plot import PhasorPlot, plot_image, plot_phasor"
25+
"import numpy\nfrom matplotlib import pyplot\n\nfrom phasorpy.color import CATEGORICAL\nfrom phasorpy.cursor import mask_from_circular_cursor, pseudo_color\nfrom phasorpy.datasets import fetch\nfrom phasorpy.filter import phasor_filter_median, phasor_threshold\nfrom phasorpy.io import signal_from_fbd, signal_from_lsm\nfrom phasorpy.lifetime import phasor_calibrate\nfrom phasorpy.phasor import phasor_from_signal\nfrom phasorpy.plot import PhasorPlot, plot_image, plot_phasor"
2626
]
2727
},
2828
{

docs/main/_downloads/1b3c132ff7b40bb13bb60712fdfbc4bc/phasorpy_io.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"outputs": [],
2424
"source": [
25-
"import math\nimport os\nfrom tempfile import TemporaryDirectory\n\nimport numpy\nfrom numpy.testing import assert_allclose\n\nfrom phasorpy.lifetime import (\n phasor_calibrate,\n phasor_to_apparent_lifetime,\n)\nfrom phasorpy.phasor import (\n phasor_filter_median,\n phasor_from_signal,\n phasor_threshold,\n phasor_transform,\n)\nfrom phasorpy.plot import (\n plot_histograms,\n plot_phasor,\n plot_phasor_image,\n plot_signal_image,\n)"
25+
"import math\nimport os\nfrom tempfile import TemporaryDirectory\n\nimport numpy\nfrom numpy.testing import assert_allclose\n\nfrom phasorpy.filter import phasor_filter_median, phasor_threshold\nfrom phasorpy.lifetime import phasor_calibrate, phasor_to_apparent_lifetime\nfrom phasorpy.phasor import phasor_from_signal, phasor_transform\nfrom phasorpy.plot import (\n plot_histograms,\n plot_phasor,\n plot_phasor_image,\n plot_signal_image,\n)"
2626
]
2727
},
2828
{

docs/main/_downloads/1b84065f650ab6632b301a73aaa06bca/phasorpy_filter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
# Import required modules and functions:
1515

1616
from phasorpy.datasets import fetch
17-
from phasorpy.io import signal_from_imspector_tiff
18-
from phasorpy.lifetime import phasor_calibrate
19-
from phasorpy.phasor import (
17+
from phasorpy.filter import (
2018
phasor_filter_median,
2119
phasor_filter_pawflim,
22-
phasor_from_signal,
2320
phasor_threshold,
2421
)
22+
from phasorpy.io import signal_from_imspector_tiff
23+
from phasorpy.lifetime import phasor_calibrate
24+
from phasorpy.phasor import phasor_from_signal
2525
from phasorpy.plot import plot_image, plot_phasor
2626

2727
# %%
Binary file not shown.

docs/main/_downloads/2a87616bb17ef75a216689cb0c820281/phasorpy_introduction.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,20 +242,23 @@
242242
# Filter phasor coordinates
243243
# -------------------------
244244
#
245+
# The :py:mod:`phasorpy.filter` module provides functions to filter signals
246+
# and phasor coordinates.
247+
#
245248
# Applying median filter to the calibrated phasor coordinates,
246249
# often multiple times, improves contrast and reduces noise.
247250
# The filter is applied independently to the real and imaginary components,
248251
# but not to the signal average:
249252

250-
from phasorpy.phasor import phasor_filter_median
253+
from phasorpy.filter import phasor_filter_median
251254

252255
mean, real, imag = phasor_filter_median(mean, real, imag, size=3, repeat=2)
253256

254257
# %%
255258
# Pixels with low intensities are commonly excluded from analysis and
256259
# visualization of phasor coordinates:
257260

258-
from phasorpy.phasor import phasor_threshold
261+
from phasorpy.filter import phasor_threshold
259262

260263
mean, real, imag = phasor_threshold(mean, real, imag, mean_min=1)
261264

Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)