This file contains 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 starfile | |
import pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt | |
FSC='warp_fsc.star' | |
STEP=15 | |
fsc = starfile.read(FSC) | |
freq_reso = 1/fsc['wrpResolution'].to_numpy() | |
masked_fsc = fsc['wrpFSCMasked'].to_numpy() |
This file contains 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 napari | |
import mrcfile | |
import numpy as np | |
from pathlib import Path | |
from magicgui import magicgui | |
from napari.types import LabelsData, PointsData, ImageData | |
from scipy.ndimage import distance_transform_edt |
This file contains 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
# Source: https://www.netroby.com/view/3891 | |
yum groupinstall "Development Tools" | |
yum install ncurses-devel git-core | |
git clone git@github.com:vim/vim.git | |
./configure --prefix=/usr --with-features=huge --enable-multibyte --with-python-config-dir=/usr/lib/python2.7/config --enable-pythoninterp=yes | |
make -j4 | |
make install |