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

dask / dask-image / 170
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: main
Ran 01 Oct 2018 04:41PM UTC
Jobs 3
Files 21
Run time 183min
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
170

push

travis-ci

web-flow
Use 1-D structured array fields for position-based kernels in `ndmeasure` (#79)

* Use N-D structured array field in `center_of_mass`

Instead of using multiple structured array fields to pass back the
different coordinate components of the center of mass, use one 1-D field
with the size being the number of components. This simplifies the array
handling a bit and avoids the need to split apart and restack the array.

* Use N-D structured array in `maximum_position`

Rewrite `maximum_position` to use a structured `dtype` with a 1-D field.
This allows the unraveled position to be determined in the
`maximum_position` kernel function and returned. With this change there
is no need to handle unraveling of the position in the Dask graph. Only
the structured field need be selected, which is a constant time
operation. Thus simplifying the Dask graph generated by
`maximum_position` and improving the computation performance as well.

* Use N-D structured array in `minimum_position`

Rewrite `minimum_position` to use a structured `dtype` with a 1-D
field.  This allows the unraveled position to be determined in the
`minimum_position` kernel function and returned. With this change there
is no need to handle unraveling of the position in the Dask graph. Only
the structured field need be selected, which is a constant time
operation. Thus simplifying the Dask graph generated by
`minimum_position` and improving the computation performance as well.

* Use N-D structured array fields in `extrema`

Make use of N-D structured array fields in `extrema`'s kernel function
to pass back N-D coordinate positions. Avoids having an explicit
unraveling step added to the Dask graph after the `extrema`'s kernel
function.

* Drop `_unravel_index` from `ndmeasure._utils`

This function is no longer needed as unraveling of indices now occurs
within kernel functions that are returning position. Hence it is dropped
along with its tests.

209 of 209 branches covered (100.0%)

Branch coverage included in aggregate %.

728 of 728 relevant lines covered (100.0%)

2.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 170.1 (PYVER="36") 01 Oct 2018 07:45PM UTC 0
100.0
Travis Job 170.1
2 170.2 (PYVER="35") 01 Oct 2018 04:41PM UTC 0
100.0
Travis Job 170.2
3 170.3 (PYVER="27") 01 Oct 2018 04:41PM UTC 0
98.53
Travis Job 170.3
Source Files on build 170
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #170
  • b4708985 on github
  • Prev Build on master (#568)
  • Next Build on master (#19175984)
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