thank you for this great package. I am currently working on the multiple particle tracking colab notebook and found the error but don't know how to fix it. It would be great if I can get any help.
/usr/local/lib/python3.7/dist-packages/deeptrack/optics.py:357: UserWarning: Likely bad optical parameters. NA / wavelength resolution magnification = 15.98571280696451 should be at most 0.5
To fix, set magnification to 32.0, and downsample the resulting image with dt.AveragePooling((32.0, 32.0, 1))
"""
/usr/local/lib/python3.7/dist-packages/deeptrack/optics.py:259: RuntimeWarning: invalid value encountered in sqrt
np.sqrt(1 - (NA / refractive_index_medium) * 2 RHO),
Hi,
thank you for this great package. I am currently working on the multiple particle tracking colab notebook and found the error but don't know how to fix it. It would be great if I can get any help.
/usr/local/lib/python3.7/dist-packages/deeptrack/optics.py:357: UserWarning: Likely bad optical parameters. NA / wavelength resolution magnification = 15.98571280696451 should be at most 0.5 To fix, set magnification to 32.0, and downsample the resulting image with dt.AveragePooling((32.0, 32.0, 1))
""" /usr/local/lib/python3.7/dist-packages/deeptrack/optics.py:259: RuntimeWarning: invalid value encountered in sqrt
np.sqrt(1 - (NA / refractive_index_medium) * 2 RHO),
TypeError Traceback (most recent call last) in ()
4 plt.figure(figsize=(15, 5))
5 dataset.update()
----> 6 image_of_particle = dataset.resolve()
7
8 position = np.array(image_of_particle.get_property("position", get_one=False))
21 frames /usr/local/lib/python3.7/dist-packages/deeptrack/augmentations.py in(p)
145 super().init(
146 p=p,
--> 147 augment=(lambda p: np.random.rand() < p) if augment is None else augment,
148 **kwargs,
149 )
TypeError: '<' not supported between instances of 'float' and 'list'