# dataLib

Create, modify, translate, analyze and otherwise manipulate data.

### Functions

- addField - Adds to an existing record a field with specified name and value.
- buildField - Creates a field with specified name and value.
- hexToInt - Interprets input as hex value and outputs it as an integer
- polarFit - Determines the unique circle defined by given three points.
- polarRegress - Determines the circle that best fits a set of points.
- polarResample - Resamples polar data to ensure full 0-360 coverage.
- setVar - Sets (or creates) a variable with given name and value
- timeStretch - Stretches a series of data points by replicating them.
- toggleRadix - Switches decimal radix between point and comma
- toBinStrN - Formats a number as a binary string of arbitrary length.
- toCoord - Creates Coordinates from input data.
- toEngr - Formats a number in standard engineering format.
- toInt16 - Interprets input as hex value and outputs it as a 16-bit signed integer
- toInt32 - Interprets input as hex value and outputs it as a 32-bit signed integer
- toUInt8- Interprets input as hex value and outputs it as an 8-bit unsigned integer

### Internal Content

These are used within the library but can often be useful directly accessed from without.

- private functions
  - version - returns revision date of this library
- variables
  none

### Standalone Objects

- toBinStr8 - Formats a number as a binary string of length 8.
- toBinStr16 - Formats a number as a binary string of length 16.
- toBinStr32 - Formats a number as a binary string of length 32.
- toBinStr64 - Formats a number as a binary string of length 64.

### Standalone Functions

- comma2point - Replaces commas with points.
- point2comma - Replaces points with commas.
- Xcoord - Returns the X value of a coordinate
- Ycoord - Returns the Y value of a coordinate
- Zcoord - Returns the Z value of a coordinate

### Notes

© 2015-2017. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 23 March 2017 17:34.