Skip to content

Commit

Permalink
Default dimensions to X,Y,Z
Browse files Browse the repository at this point in the history
  • Loading branch information
chambbj committed Sep 24, 2019
1 parent 1ac73a4 commit 235cc0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/stages/filters.dbscan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ eps
be used when searching for neighbors. [Default: 1.0]

dimensions
Comma-separated string indicating dimensions to use for clustering.
Comma-separated string indicating dimensions to use for clustering. [Default: X,Y,Z]

3 changes: 2 additions & 1 deletion filters/DBSCANFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ void DBSCANFilter::addArgs(ProgramArgs& args)
args.add("min_points", "Min points per cluster", m_minPoints,
static_cast<uint64_t>(6));
args.add("eps", "Epsilon", m_eps, 1.0);
args.add("dimensions", "Dimensions to cluster", m_dimStringList);
args.add("dimensions", "Dimensions to cluster", m_dimStringList,
{"X", "Y", "Z"});
}

void DBSCANFilter::addDimensions(PointLayoutPtr layout)
Expand Down

0 comments on commit 235cc0c

Please sign in to comment.