More tidying up
This commit is contained in:
parent
16186c432e
commit
9484941f66
@ -120,6 +120,7 @@ class ExtractEntropies extends Operation {
|
|||||||
* Calculates the scanning entropy of the input.
|
* Calculates the scanning entropy of the input.
|
||||||
*
|
*
|
||||||
* @param {Uint8Array} inputBytes
|
* @param {Uint8Array} inputBytes
|
||||||
|
* @param {number} binWidth
|
||||||
* @returns {Object}
|
* @returns {Object}
|
||||||
*/
|
*/
|
||||||
calculateScanningEntropy(inputBytes, binWidth) {
|
calculateScanningEntropy(inputBytes, binWidth) {
|
||||||
@ -200,7 +201,7 @@ class ExtractEntropies extends Operation {
|
|||||||
* Retrieves all the blocks with entropy lower than the low mean.
|
* Retrieves all the blocks with entropy lower than the low mean.
|
||||||
*
|
*
|
||||||
* @param {Array} entropies
|
* @param {Array} entropies
|
||||||
* @param {number} highEntropy
|
* @param {number} lowEntropy
|
||||||
* @returns {Array}
|
* @returns {Array}
|
||||||
*/
|
*/
|
||||||
getAllBelow(entropies, lowEntropy) {
|
getAllBelow(entropies, lowEntropy) {
|
||||||
@ -335,8 +336,8 @@ class ExtractEntropies extends Operation {
|
|||||||
* Flips the groups to cover the remaining data.
|
* Flips the groups to cover the remaining data.
|
||||||
*
|
*
|
||||||
* @param {Array} data
|
* @param {Array} data
|
||||||
* @param {Number} length
|
* @param {number} length
|
||||||
* @param {Number} binWidth
|
* @param {number} binWidth
|
||||||
* @returns {Array}
|
* @returns {Array}
|
||||||
*/
|
*/
|
||||||
flipGroupings(data, length, binWidth) {
|
flipGroupings(data, length, binWidth) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user