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

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

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

01 Oct 2018 04:35PM UTC coverage: 100.0% (+1.5%) from 98.526%
PYVER="35"

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.

223 of 223 branches covered (100.0%)

Branch coverage included in aggregate %.

728 of 728 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 170.2 (PYVER="35")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 19159387
  • Travis Job 170.2
  • b4708985 on github
  • Prev Job for on master (#568.1)
  • Next Job for on master (#19175984.3)
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