plantcv icon indicating copy to clipboard operation
plantcv copied to clipboard

Add a sub-package "time series" into PlantCV

Open DannieSheng opened this issue 4 years ago • 1 comments

Describe your changes A brand new sub-package called "time series" was added to PlantCV. This package is different from most functions already in PlantCV, it deals not with single images, but a series of images. Related documentation, tests, and test data are also updated.

class InstanceTimeSeriesLinking (methods are called by the methods inside the parentheses )

(checklist for whether have tests covered)

class methods:

  • [x] save_linked_series
  • [x] import_linked_series
  • [x] link_t (link)
  • [x] link
  • [x] update_ti
  • [ ] link_dist_t (link_dist)
  • [ ] link_dist

static methods:

  • [x] get_link(_update_ti, link_t,link_dist_t)
  • [x] compute_overlaps_weights(link_t , _update_ti)
  • [x] get_sorted_uids(link, link_dist)
  • [x] get_uids_from_ti(_update_ti)
  • [x] get_emerg_disap_info(get_ti,_update_ti)
  • [x] get_ti(link,link_dist)
  • [x] get_li_from_ti
  • [x] area_tracking_report(link,update_ti)
  • [x] visualize
  • [x] _update_ti(update_ti)
  • [ ] compute_dist_weights (link_dist_t)

Type of update Is this a:

  • New feature or feature enhancement
  • Update to documentation
  • Work in progress

DannieSheng avatar Jun 17 '20 21:06 DannieSheng

Codecov Report

Merging #587 (ee13562) into visualize_show_instances (7979d0e) will not change coverage. The diff coverage is 100.00%.

:exclamation: Current head ee13562 differs from pull request most recent head ce3c5bf. Consider uploading reports for the commit ce3c5bf to get more accurate results Impacted file tree graph

@@                     Coverage Diff                     @@
##           visualize_show_instances      #587    +/-   ##
===========================================================
  Coverage                    100.00%   100.00%            
===========================================================
  Files                           146       149     +3     
  Lines                          6737      7061   +324     
===========================================================
+ Hits                           6737      7061   +324     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
plantcv/plantcv/__init__.py 100.00% <ø> (ø)
plantcv/plantcv/visualize/__init__.py 100.00% <ø> (ø)
plantcv/plantcv/time_series/__init__.py 100.00% <100.00%> (ø)
plantcv/plantcv/time_series/evaluation.py 100.00% <100.00%> (ø)
plantcv/plantcv/time_series/time_series_linking.py 100.00% <100.00%> (ø)
plantcv/__init__.py 100.00% <0.00%> (ø)

codecov[bot] avatar Aug 26 '20 12:08 codecov[bot]