Skip to content
  1. Apr 15, 2019
  2. Apr 12, 2019
  3. Apr 11, 2019
    • Douglas Raillard's avatar
      doc: Update transition guide for EnergyMeter · 1d1a9995
      Douglas Raillard authored
      Describe new ways of building an EnergyMeter instance.
      1d1a9995
    • Douglas Raillard's avatar
      lisa.energy_meter: Cleanup EnergyMeter configuration · a2d69fc1
      Douglas Raillard authored
      Use one configuration class per type of EnergyMeter, so that all keys
      are properly described, and each of them will get an independent
      configuration format to be used with `EnergyMeter.from_conf()`
      
      Also remove the "conf" __init__ parameter of most classes, replaced by
      one parameter per key (aligned on the configuration class content).
      a2d69fc1
    • Valentin Schneider's avatar
      trace: Improve/fix add_events_deltas() · c6cdaac8
      Valentin Schneider authored
      While we're not supposed to get duplicate timestamps (see
      trappy.utils::handle_duplicate_index), these seem to still happen and
      they throw pandas.DataFrame.loc[] off balance.
      
      Use diff() + shift() instead of handcrafted equivalents. Performance
      difference is insignificant, but at least we rely on a standard pandas
      API.
      c6cdaac8
Loading