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 os | |
import numpy as np | |
import nibabel as nib | |
import matplotlib.pyplot as plt | |
from matplotlib.colors import LinearSegmentedColormap | |
%matplotlib inline | |
path1 = os.path.join('folder', 'a.img') #path of file 1 | |
img1 = nib.load(path1) |
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 modules | |
from textmagic.rest import TextmagicRestClient | |
def runAPI(): | |
username = <username> | |
token = <token> | |
global client | |
client = TextmagicRestClient(username, token) | |
def messagetext(name, examDate, examTime): |
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
#!/usr/bin/env python | |
#coding:UTF-8 | |
import re | |
import json | |
import requests | |
import datetime | |
import pandas as pd | |
headers = { | |
"Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8", |