Skip to content

Commit

Permalink
Improve descriptions for vetting steps in config
Browse files Browse the repository at this point in the history
  • Loading branch information
SylviaWhittle committed Nov 13, 2024
1 parent ba82f7f commit 88f74cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions topostats/default_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ grains:
upper_norm_bound: 5.0 # Upper bound for normalisation of input data. This should be slightly higher than the maximum desired / expected height of grains.
lower_norm_bound: -1.0 # Lower bound for normalisation of input data. This should be slightly lower than the minimum desired / expected height of the background.
vetting:
class_region_number_thresholds: null # Class region number thresholds, [class, low, high] eg [1, 2, 4], [2, 1, 1] for class 1 to have 2-4 regions and class 2 to have 1 region
class_size_thresholds: null # Class size thresholds,
class_region_number_thresholds: null # Class region number thresholds, list of lists, ie [[class, low, high],] eg [[1, 2, 4], [2, 1, 1]] for class 1 to have 2-4 regions and class 2 to have 1 region. Can use None to not set an upper/lower bound.
class_size_thresholds: null # Class size thresholds (nm^2), list of lists, ie [[class, low, high],] eg [[1, 100, 1000], [2, 1000, None]] for class 1 to have 100-1000 nm^2 and class 2 to have 1000-any nm^2. Can use None to not set an upper/lower bound.
nearby_conversion_classes_to_convert: null # Class conversion for nearby regions, list of two-integer tuples, eg [[1, 2], [3, 4]] to convert class 1 to 2 and 3 to 4 for small touching regions
class_touching_threshold: 5 # Number of dilation steps to use for detecting touching regions
keep_largest_labelled_regions_classes: null # Classes to keep the only largest regions for eg [1, 2]
Expand Down

0 comments on commit 88f74cf

Please sign in to comment.