This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cvlc --no-bluray-menu bluray:///dev/sr1#1 --sout "#std{access=file,mux=ts,dst=my_new_film.mkv}" vlc://quit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Python.h" | |
#include "math.h" | |
#include "numpy/ndarraytypes.h" | |
#include "numpy/ufuncobject.h" | |
#include "numpy/npy_3kcompat.h" | |
/* | |
* subtract_nowrap.c | |
* This is a C code for ufunc that subtract 2 arrays element-wise and set to zero to avoid wrapping of negative results. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import sys | |
import nibabel as nb | |
import nipy.algorithms.registration as nar | |
import dipy.align.vector_fields as vfu | |
from dipy.align.metrics import CCMetric | |
from dipy.align.imwarp import DiffeomorphicMap | |
from dipy.align.imwarp import SymmetricDiffeomorphicRegistration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nibabel as nb | |
import nibabel.gifti | |
import numpy as np | |
import sys | |
def surfparc2vol( | |
lh_surf_file,rh_surf_file,lh_parc_file,rh_parc_file,parc_file, | |
out_fname, | |
mask=None, |