• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MHKiT-Software / MHKiT-Python / 80
91%
master: 85%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 15 Jun 2020 04:51PM UTC
Jobs 2
Files 27
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
80

push

travis-ci

web-flow
Feature power (#41)

* resolve merge conflict

* minor updates to wave example

* fix minor typo in plot

* Added sub-sub-section describing Pandas Series, what they are, why we need them, and how to create them. Minor typo fixes.

* File cleanup and added comments where additional data is needed.

* Chacteristics:instantaneous_frequency- Add data assertion at top of function. Change varible name d to dt. Remove the nan from dt when defined e.g.[1:]. Convert series to dataframe to remove redundant code presviously split between an if statement dependent of class type. Initalize frequency as a DataFrame with the same columns as um. Itearte over column names instead of indicies which reference a column name (pythonic). Define the frequncy using the column name instead of a number and a concatination. Remove the renaming of the columns at the bottom as it is handeled in the instantiation.

* Defined current and voltage data in setup class. Helps the functions below follow pep8 line column limits.

* Bug fix: DC power expects voltage first, current second

* Add a test for DC power for series vs DataFrame. Change check value from hardcoded to calculated.

* chacteristics:dc_power: Simplify to use values instead of creating a dictionary to map columns. P is then converted to a DataFrame with an equivalent structure to the previous implementation.

* ac_power3 expects voltage then current

* Characteristics:ac_three_phase_power - Similar to DC power removed the renaming of columns. I take the absolute value of current and voltage at the same time I get the values and rename as needed.

* Remove debug statement

* Actually rename I & V to abs_I etc as stated in previous commit message

* quality:harmonic - added assert statements for each input. Added the 50/60 value assertion and removed if from the if statement. I will review this more once the data/ tests are written

* Added assert statements to each function. At this point ... (continued)

1334 of 1534 relevant lines covered (86.96%)

1.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 80.1 (CONDA_ENV=py36) 15 Jun 2020 04:51PM UTC 0
86.96
Travis Job 80.1
2 80.2 (CONDA_ENV=py37) 15 Jun 2020 04:51PM UTC 0
86.96
Travis Job 80.2
Source Files on build 80
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #80
  • 6aac3286 on github
  • Prev Build on feature_power (#72)
  • Next Build on feature_power (#88)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc