Skip to content

Commit

Permalink
v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ronshnapp committed Oct 31, 2024
1 parent 20b5158 commit f6c9e69
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
October 27, 2024
October 31, 2024

Version: 1.1.0
Version: 1.1.1


<img src="./user_manual/figs/logo.png" style="zoom:20%;" />
Expand Down
27 changes: 18 additions & 9 deletions myptv/segmentation_mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,14 @@ class tracking_augmented_segmentation(track_2D_multiframe):

def __init__(self, fname, max_dt, Ns, d_max=1e10, dv_max=1e10, NSR_th=0.25):
'''
A class that uses 2D tracking of segmented blobs using the multiframe
algorithm, and then "missing particle" interpolation in attempt to
fill in for occlusions.
fname - name of a file with blobs to be tracking augmented
max_dt, Ns, d_max, dv_max, NSR_th - tracking related to the multiframe
tracking used. See the class over in tracking_mod for details.
'''

self.fname = fname
Expand Down Expand Up @@ -731,15 +738,17 @@ def save_augmented_blobs(self, fname):



if __name__ == '__main__':
fn = '/home/ron/Desktop/Research/jetArrayTank/20241020_puffs/Rec18/blobs_cam4'
dt_max = 3
Ns = 9
t2d = tracking_augmented_segmentation(fn, dt_max, Ns, d_max=3, dv_max=3)
t2d.blobs_to_particles()
t2d.augment_blobs()

t2d.save_augmented_blobs('blobs_cam4_augmented')
# =============================================================================
# if __name__ == '__main__':
# fn = '/home/ron/Desktop/Research/jetArrayTank/20241020_puffs/Rec18/blobs_cam4'
# dt_max = 3
# Ns = 9
# t2d = tracking_augmented_segmentation(fn, dt_max, Ns, d_max=3, dv_max=3)
# t2d.blobs_to_particles()
# t2d.augment_blobs()
#
# t2d.save_augmented_blobs('blobs_cam4_augmented')
# =============================================================================



Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
setup(
name='myptv',
packages=find_packages(include=['myptv', 'myptv.fibers', 'myptv.TsaiModel', 'myptv.extendedZolof', 'myptv.makePlots', 'myptv.sheets']),
version='1.1.0',
version='1.1.1',
description='A 3D Particle Tracking Velocimetry library',
install_requires=['numpy', 'scipy', 'scikit-image','pandas','matplotlib','pyyaml', 'tk', 'Pillow>=9.5.0'],
author='Ron Shnapp',
Expand Down
4 changes: 2 additions & 2 deletions user_manual/user_manual.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex 2023.7.13) 27 OCT 2024 13:23
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex 2023.7.13) 31 OCT 2024 18:21
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
Expand Down Expand Up @@ -875,7 +875,7 @@ sr/share/texmf/fonts/type1/public/cm-super/sfsx2488.pfb></usr/share/texmf/fonts
er/sftt0900.pfb></usr/share/texmf/fonts/type1/public/cm-super/sftt1000.pfb></us
r/share/texmf/fonts/type1/public/cm-super/sftt1200.pfb></usr/share/texmf/fonts/
type1/public/cm-super/sftt1440.pfb>
Output written on user_manual.pdf (39 pages, 3696309 bytes).
Output written on user_manual.pdf (39 pages, 3696449 bytes).
PDF statistics:
1051 PDF objects out of 1200 (max. 8388607)
901 compressed objects within 10 object streams
Expand Down
Binary file modified user_manual/user_manual.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion user_manual/user_manual.tex
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

\begin{minipage}{14cm}
{\small \sffamily
Version: 1.1.0 \\
Version: 1.1.1 \\
Last updated: \today \\
Github repository: \url{https://github.com/ronshnapp/MyPTV} \\
Get help \& interact with our community: \url{https://github.com/ronshnapp/MyPTV/discussions}\\
Expand Down

0 comments on commit f6c9e69

Please sign in to comment.