Jump to content

Wouter

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Wouter

  1. The above examples were helpful to select the capsule of A when there are multiple A capsules intersecting with B:
    image.thumb.png.b400eca1661e9bb86c87be9a37d8e15b.png

    A + first B after A:

    $md = 10d
    $a.join($b, $md, false)

    A when first B starts before end of A:

    $nodata = '2000-01-01T00:00:00Z'
    $bafa.removeLongerThan($md).transform($capsule ->
        $a.removeLongerThan($md).toGroup($capsule, CAPSULEBOUNDARY.INTERSECT)
            .pick(1,  // if there are multiple capsules, grab the first
                  capsule($nodata, $nodata))  // otherwise a default capsule
    )

    B could be offline samples of the A process.

    @John Cox suppose B has properties. How can they be added to (other properties of) A when first B starts before end of A ?

×
×
  • Create New...