Skip to contents

Metrics

Compute the quality metrics of PUF data

metrics()
Compute the quality metrics of the given CRP matrix
with_entropy()
Convert metrics to entropy calculation
dim(<pufmetrics>)
Returns the dimensions of the metrics
plot(<pufmetrics>)
Create a plot with a summary of all the metrics

Formulas

Compute the metrics of bit vectors or CRP matrices

entropy_shannon()
Shannon entropy for numeric values
entropy_bits()
Shannon entropy for binary vectors
entropy_p()
Shannon entropy for probabilities
uniformity()
Uniformity of a bit vector or a CRP matrix
bitaliasing()
Bitaliasing of a CRP matrix
intra_hd()
Intra Hamming distance of CRPs
reliability()
Reliability of CRPs
uniqueness() inter_hd()
Uniqueness of CRPs

Utilities

hamming_dist() `%HD%` `%NHD%`
Hamming distance of two vectors
hamming_weight()
Hamming weight of a binary vector
ratio_bits()
Ratio of bits in a binary vector
rbits()
Random bit vector, matrix or array
compare_pairwise()
Compare a matrix by pairs of rows