Releases: adriangibbons/php-fit-file-analysis
Releases · adriangibbons/php-fit-file-analysis
php-FIT-File-Analysis
Some reasonable changes as have reorganised the directory structure, added a composer.json and began work on PHPUnit tests!
php-FIT-File-Analysis
Minor fixes/enhancements:
- Added
$defn_mesgs_all
as$defn_mesgs
could reuse index ($local_mesg_type) and the FIT Definition would not be available forfix_data()
andshow_debug_info()
- Added unsigned to signed integer conversions for short integers and where not in arrays
- Timestamp fault tolerance (swim files had invalid timestamps)
php-FIT-File-Analysis
Updated the README and fixed a couple of bugs:
- Check timestamps exist before array_unique()
- Unsigned integer to signed integer conversion on 64 bit machines
php-FIT-File-Analysis
Couple of fixes:
- fix_data() check that the field_name is set
- interpolate_missing_data() typo (< $max_key should have been < $min_key)
php-FIT-File-Analysis
Updates and enhancements in this release:
- Support for Little and Big Endianness
- Changed creation of a couple of arrays from array() to the more modern [] way
- Removal of any duplicate timestamps
php-FIT-File-Analysis
Minor fix and enhancement after breaking fix_data()
function in previous release.
php-FIT-File-Analysis
Some noteworthy fixes and enhancements in this release:
- Resolved timestamp race condition (trying to store data in array using timestamp as key before timestamp message received).
- Added fix to exclude invalid record values (resolves #8), as defined by the standard.
- Added a check to ensure valid base types only.
- Overhaul of the demo files, including making file paths relative and addition of an index page.
- Resolved issue where
num_fields
was always -1. - Enhanced the
show_debug_info()
function. - Added Running Dynamics metrics (vertical oscillation and stance time).
- Added a few field definitions seen in FIT files generated by other devices.
- Updated the README (including adding some images).
php-FIT-File-Analysis
Updates in this release:
- Added Simple Moving Average algorithm and removed dependency on PHP Trader PECL extension
- Tweaked HR zones used in HR_reserve calculations
- Enabled PHP error reporting
- Added HR analysis metrics TRIMPexp and hrIF
- Fixed unpack() for 12 byte headers
- Added Zwift FIT file for power analysis demo
- Enhanced interpolate_missing_data() function
- Updated the README to reflect changes
My thanks to @mjanda and @gfrogley for their input and inspiration!
More updates coming soon - please add any bugs or wish-list items to the project's Issue Page!
Thanks :)
php-FIT-File-Analysis
- added power_metrics() and critical_power()
- updated README with power_metrics() and critical_power() info
php-FIT-File-Analysis
php-FIT-File-Reader is now php-FIT-File-Analysis !!!
- Removed some public get_* functions
- Added initial analysis functions (see README.md - more to come!)