DeepLearnPhysics / larcv2

MIT License
13 stars 16 forks source link

Feature/pca #36

Closed kvtsang closed 4 years ago

kvtsang commented 4 years ago
// spread along pca1 in voxel units (default)
// for true xyz coordinate (cm), use_true_corrd=true
// if spread is not needed, set store_spread=false for slightly better performance
auto pca = tensor.fit_pca(true);
pca.get_spread()[0];