-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.rmd
51 lines (40 loc) · 992 Bytes
/
main.rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
title: "Active Contour Models"
lang: en-US
bibliography: ref.bib
biblio-style: "apalike"
link-citations: true
date: 2 March 2020
---
```{r setup, include=FALSE}
library(knitr)
# set directory
proj <- normalizePath('.')
opts_knit$set(root.dir = proj)
# set chunk options
opts_chunk$set(fig.pos = 'H')
opts_chunk$set(comment = NA)
#opts_chunk$set(cache = TRUE)
# set reticulate options
venv <- paste(proj, "venv", sep="/")
reticulate::use_virtualenv(venv, required = TRUE)
```
```{r child='include/math.tex'}
```
```{python, include=FALSE}
from __future__ import division
import numpy as np
import scipy as scp
import pylab as pyl
import matplotlib.pyplot as plt
from matplotlib import rcParams
from matplotlib import rc
rcParams['savefig.transparent'] = True
rc('font', **{'family':'sans-serif','sans-serif':['Helvetica']})
rc('text', usetex=True)
from nt_toolbox.general import *
from nt_toolbox.signal import *
import warnings
warnings.filterwarnings('ignore')
```
\pagebreak