Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

ivis-mizuguchi ce83af7f52 git-annex in jovyan@jupyter-ivis-5frino-5fmizuguchi-40rdm-2enii-2eac-2ejp--ivis-2dm:~/ il y a 2 ans
..
.eslintrc.json ce83af7f52 git-annex in jovyan@jupyter-ivis-5frino-5fmizuguchi-40rdm-2enii-2eac-2ejp--ivis-2dm:~/ il y a 2 ans
.travis.yml ce83af7f52 git-annex in jovyan@jupyter-ivis-5frino-5fmizuguchi-40rdm-2enii-2eac-2ejp--ivis-2dm:~/ il y a 2 ans
.yarn-metadata.json ce83af7f52 git-annex in jovyan@jupyter-ivis-5frino-5fmizuguchi-40rdm-2enii-2eac-2ejp--ivis-2dm:~/ il y a 2 ans
.yarn-tarball.tgz ce83af7f52 git-annex in jovyan@jupyter-ivis-5frino-5fmizuguchi-40rdm-2enii-2eac-2ejp--ivis-2dm:~/ il y a 2 ans
index.js ce83af7f52 git-annex in jovyan@jupyter-ivis-5frino-5fmizuguchi-40rdm-2enii-2eac-2ejp--ivis-2dm:~/ il y a 2 ans
package.json ce83af7f52 git-annex in jovyan@jupyter-ivis-5frino-5fmizuguchi-40rdm-2enii-2eac-2ejp--ivis-2dm:~/ il y a 2 ans
readme.md ce83af7f52 git-annex in jovyan@jupyter-ivis-5frino-5fmizuguchi-40rdm-2enii-2eac-2ejp--ivis-2dm:~/ il y a 2 ans
test.js ce83af7f52 git-annex in jovyan@jupyter-ivis-5frino-5fmizuguchi-40rdm-2enii-2eac-2ejp--ivis-2dm:~/ il y a 2 ans

readme.md

array-bounds experimental Build Status

Find min and max values of a sequence of values/coordinates.

npm install array-bounds

const getBounds = require('array-bounds')

let bounds = getBounds([0, 25, 50, 75, 100]) // [0, 100]

API

box = bounds(array, dim=1)

Figures out bounds of sequence of points using dimensions dim as stride, ie. for 1d values expected data layout is [x, x, x, ...] for 2d is [x, y, x, y, ...], etc. Returned array contains bounds for every dimension as [minX, minY, ..., maxX, maxY], eg.

//get bounding box
let [minX, minY, maxX, maxY] = bounds([x1, y1, x2, y2, x3, y3, ...], 2)

//get bounding cube
let [minX, minY, minZ, maxX, maxY, maxZ] = bounds([x1, y1, z1, x2, y2, z2, ...], 3)