get_features_3d.RdThis function computes event features of 3D events.
get_features_3d(dat.xyz, res.cluster, normal.stats, win_size, tt)The data in a cluster friendly format. The first three columns have t,x and y positions with the fourth column having the pixel value of that position.
Cluster details from dbscan.
The background statistics, output from stats_3d.
The window length of the moving window model.
Related to event ages. For example if tt=10 then the event ages are 10, 20, 30 and 40.
An Nx22x4 array is returned. Here N is the total number of events extracted in all windows. The second dimension has 30 features and the class label for the supervised setting. The third dimension has 4 different event ages : tt, 2tt, 3tt, 4tt.
For example, the element at [10,6,3] has the 6th feature, of the 10th extracted event when the age of the event is 3tt. The features are listed below:
cluster_idAn identification number for each event.
pixelsThe number of pixels of each event.
lengthThe length of the event.
widthThe width of the event.
total_valueThe total value of the pixels.
l2w_ratioLength to width ratio of event.
centroid_xx coordinate of event centroid.
centroid_yy coordinate of event centroid.
centroid_zz coordinate of event centroid.
meanMean value of event pixels.
std_devStandard deviation of event pixels.
slopeSlope of a linear model fitted to the event.
quad1First coefficient of a quadratic model fitted to the event.
quad2Second coefficient of a quadratic model fitted to the event.
sd_from_meanLet us denote the 80th percentile of the event pixels value by x. How many standard deviations is x is away from the mean?