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 tp_morpho | |
import glob | |
import re | |
from PIL import Image | |
import numpy as np | |
import platform | |
import tempfile | |
import os | |
import matplotlib.pyplot as plt | |
from scipy import ndimage as ndi |
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
### Usefull libraries | |
from PIL import Image | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import glob | |
from PIL import Image | |
import re | |
import os | |
def atof(text): |
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 <stdio.h> | |
int flen(FILE *f) | |
{ | |
int len; | |
fseek(f, 0, SEEK_END); | |
len = ftell(f); | |
rewind(f) | |
return len; | |
} |