Skip to content

Commit

Permalink
adding support functions to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
m-miedema committed Jun 6, 2019
1 parent 3c6d009 commit 47caedf
Show file tree
Hide file tree
Showing 7 changed files with 1,096 additions and 0 deletions.
25 changes: 25 additions & 0 deletions ML_ipython.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env python
"""
Set up ipython environment for ML testing
@author: Mary Miedema
"""


import yaml
import numpy as np
import map_reliability_support.likelihood_biden as lhood

with open('cfgbeta3.yml', 'r') as ymlfile:
cfg = yaml.load(ymlfile)

#testML = lhood.ML_reliability(cfg,'sub03','one_jitter',55)
testML = lhood.ML_reliability(cfg,'sub03','SEF_good',20)

testML.calc_reliability_measures()

testML.map_reliability(0.9)
testML.map_reliability(0.6)


# wishlist: automatically copy cfg file to nifti output directory for settings reference
Loading

0 comments on commit 47caedf

Please sign in to comment.