Permalink
Commits on Aug 17, 2018
  1. Linear Regress for Work/Time Model Fit

    liversedge committed Aug 17, 2018
    .. add fitting option to fit CP2 model to points using
       a linear regress.
    
    .. kinda ironic that the most common and straight forward
       method for estimating CP/W' is added so late.
  2. Tidy Up CP Plot Overlay

    liversedge committed Aug 17, 2018
    .. remove FTP
    
    .. CP first, then W' and Pmax
Commits on Aug 12, 2018
  1. Extended CP Model Search Intervals

    liversedge committed Aug 12, 2018
    .. slight tweak to aerobic interval to match the 7-20min
       interval used by CP2/CP3 and to reflect best practice.
  2. CP window fit options

    liversedge committed Aug 12, 2018
    .. when model changes set the fit type to the best practice
       we would recommend with that model (and in the case of
       multimodels disable unsupported fits)
    
       * CP2/CP3 - LMA and Performance Tests
       * Extednded CP - Envelope and all MMP
Commits on Aug 10, 2018
  1. Hi-DPI Interval Sidebar

    liversedge committed Aug 10, 2018
    .. color block.
  2. CP Plot refresh on intervals changed

    liversedge committed Aug 10, 2018
    .. to account for intervals being converted to performance tests
       or vice versa.
Commits on Aug 9, 2018
  1. CP 2/3p model interval defaults

    liversedge committed Aug 9, 2018
    .. change the default intervals within the models - these
       are used when estimating automatically via envelope and
       were too long.
    
    .. truncated the data used by the models to avoid using
       MMP data beyond 20 minutes for 2/3p model.
    
    .. results in much more robust estimates in CP History.
Commits on Aug 8, 2018
  1. Add LevMar lib to version dialog

    liversedge committed Aug 8, 2018
    .. in source tree, but may change.
  2. Alternative Levenberg-Marquardt algorithm

    liversedge committed Aug 8, 2018
    .. allows constrained fits
    
    .. this is a GPL lib that is included into the
       source tree to avoid adding another painful
       deendency.
    
    .. for details of the lib please see:
       http://users.ics.forth.gr/~lourakis/levmar/
Commits on Aug 7, 2018
  1. Disable WS/Velo models

    liversedge committed Aug 7, 2018
    .. the fit is wrong and need to look at that
       more closely.
    
    .. in the meantime disabled in CPPlot.
Commits on Aug 6, 2018
  1. 3 Param CP model env fit settings

    liversedge committed Aug 6, 2018
    .. default interval settings for search were way too high !
  2. Text Labels on CP plot for Performance Tests

    liversedge committed Aug 6, 2018
    .. tooltips getting too tricky with so much being plotted
       and since there are so few perf tests a label should be ok.
  3. Add tests() data filter function

    liversedge committed Aug 6, 2018
    .. returns the number of performance test intervals for the ride.
    
    .. can be used to filter for only rides with tests, or even multiple
       tests in the same ride (e.g. 3,7,12 tests).
    
    .. may add additional paramaters later to e.g. filter by duration or
       average power etc.
Commits on Aug 5, 2018
  1. Performance Test Intervals Bold Text

    liversedge committed Aug 5, 2018
    .. in the interval sidebar.
    
    .. maybe too subtle?
  2. CP Plot Performance Test Aesthetics

    liversedge committed Aug 5, 2018
    .. honour interval color selected by user when plotting
       performance tests on the CP plot
    
    .. performance test symbol size is enlarged if the test is
       within the currently selected ride (in activity view).
  3. Interval sidebar helper for performance tests

    liversedge committed Aug 5, 2018
    .. right click options to
       * mark a user interval as a performance test
       * create a performance test interval from a disovered interval
    
    .. this way when interval discovery finds a hard effort that you
       want to clone as a performance test, you can do it with one
       click.
  4. CP Model Explainer Deck

    liversedge committed Aug 5, 2018
    .. will maintain versions here in the GC repo.
  5. Support Performance Tests for watts and watts/kg

    liversedge committed Aug 5, 2018
    .. in the CP plot and associated modelling functions.
  6. CP Chart Modelling Improvements

    liversedge committed Aug 5, 2018
    .. CP plot modelling will fallback when insufficient data
       is available to model reliably, with a precedence:
    
          1. Performance tests
          2. Filtered MMP
          3. All MMP
    
    .. when modelling for a single ride collect bests/performance
       data for the period up to that ride.
    
       This is so as you select older rides the model reflects the
       training status at that ride, not for the current period.
    
    .. add adhoc season for 'Last 6 weeks' since it is a common
       timeframe to use when tracking impact of training
Commits on Aug 3, 2018
  1. Better CP Plot Fit Summary

    liversedge committed Aug 3, 2018
    .. tell user what fit or data was used as there is a cascade back
       depending on the model selected and the availability of data.
    
    .. the summary is also now in grey to indicate it is supplementary.
Commits on Aug 2, 2018
  1. CP plot show info about fit

    liversedge committed Aug 2, 2018
    .. RMSE for now, just to get a basic sense
    
    .. what type of fit was performed (since there is a fallback)
    
    .. how many datapoints were used in the fit and RMSE calculation.
Commits on Jul 31, 2018
  1. Replace NP for IsoPower in DataFilter validation and syntax helpers

    amtriathlon committed Jul 31, 2018
    Issue reported at the forum
Commits on Jul 30, 2018
  1. RideFile::watts is sufficient

    liversedge committed Jul 30, 2018
    .. don't need to fully quality RideFile::SeriesType::watts
  2. CP fit to performances

    liversedge committed Jul 30, 2018
    .. add option to CP chart to fit model to marked performances.
    
    .. works, but very crude UI - no warnings if not enough data and
       no constraints on combinations of model, fit and fit data that
       can be selected.
    
    .. will tidy up over the next few days.
  3. Plot performance tests on CP chart

    liversedge committed Jul 30, 2018
    .. as a first pass lets show the performance tests on the CP
       plot to get a sense of how any bests / models align to the
       results of our tests
    
    .. we will look to fit to the tests using LMA in another commit.
Commits on Jul 29, 2018
  1. Fix Interval Color bug

    liversedge committed Jul 29, 2018
    .. editing a user interval color never worked properly.
       the color wasn't changed or remembered at all.
    
    .. lots of independent bugs conspired to cause this but
       mostly it was because the interval color was not
       recorded in the ride file.
    
    NOTE: files created with this release will not be
          backwards compatible with earlier releases.
  2. Mark Performance Tests

    liversedge committed Jul 29, 2018
    .. allow the user to set a flag "Performance Test" against an interval
       within an activity.
    
    .. the distinction is needed to highlight the section of an activity
       that was a test (as opposed to the entire activity containing
       test efforts.
    
    .. this is so we can fit them to PD and IR models in the future
       avoiding the need to use algorithms to extract TTE type efforts.
    
    .. the update was surprisingly complex since we need to update the
       ridefile to record this with the interval and also update the
       ride cache as well as adding the bool to all the interval helper
       functions.
    
    .. along the way it became clear why user specified colors for
       intervals were getting lost (they are not in the ridefile) and
       will fix this in another post.
    
    .. NOTE: ridefiles created with this version will not be backward
             compatible with earlier versions because they contain a
             new field for intervals marked as performance tests.
Commits on Jul 28, 2018
  1. Removed local instance of SpecialFields from RideMetadata

    amtriathlon committed Jul 28, 2018
    Access SpecialFields::isMetric() via context->specialFields
    Avoids duplication and fixes #2894 since the context->specialFields
    is updated in RideCache when user metrics definitions are loaded.
Commits on Jul 25, 2018
  1. Add Hrv4Training sample file with 12h time format

    amtriathlon committed Jul 25, 2018
    Also fix PM times
Commits on Jul 24, 2018
  1. Parse Hrv4Training files using 12hr format

    amtriathlon committed Jul 24, 2018
    Fixes #2891
Commits on Jul 23, 2018
  1. Changed Hrv measures to return zero when no record for date

    amtriathlon committed Jul 23, 2018
    Fixes #2896
  2. Refresh PMC data when Seasons change

    amtriathlon committed Jul 23, 2018
    To consider possible changes on Starting LTS
Commits on Jul 17, 2018
  1. FIT : Change the time_offset reference

    grauser committed Jul 17, 2018
          Bryton files were impacted
    
    fix #2029
Commits on Jul 6, 2018
  1. Show model parameters on CPPlot for aPower and aPowerKg

    amtriathlon committed Jul 6, 2018
    Curve fitting was already enabled but parameters were not displayed
Commits on Jun 30, 2018
  1. Notify when data processors are running on import

    amtriathlon committed Jun 30, 2018
    Some processors s.t. Fix Altitude can take a while and
    users assume the saving hanged as reported on the forum.