Skip to content

Instantly share code, notes, and snippets.

View mingrisch's full-sized avatar

Michael Ingrisch mingrisch

View GitHub Profile

Movements

    • / # Move to next / previous word under cursor
  • H / B / L # move to top/middle/bottom line of the screen. Follow this possibly by:

  • z. put the line with the cursor at the center

  • zt put the line with the cursor at the top

  • zb put the line with the cursor at the bottom of the screen

  • CTRL-O CTRL-I undo/redo last jump

Marks

import numpy as np
def run(self,mvNode,labelNode, filename):
"""
Extract pixel curves from a multivolume node
prerequisite: labelNode and mvNode need to have the same dimensions, this is not checked.
As long as the label node is created from the mvNode, that's no problem at all.
"""
# get a numpy reference to the moving volume buffer