-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got width sections to approach constant signal as width sections incr…
…ease
- Loading branch information
Tom Close
committed
Apr 10, 2013
1 parent
1728e60
commit 9d300cb
Showing
4 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
rm ~/Desktop/intensities; | ||
for n in `seq 30`; do | ||
generate_image /home/tclose/fouts/params/fibre/tract/test_configurations/x-large.tct ~/Desktop/intens_calc/$n.mif -clean --exp_num_width $n; | ||
maxb0 ~/Desktop/intens_calc/$n.mif >> ~/Desktop/intensities; | ||
echo " " >> ~/Desktop/intensities; | ||
done | ||
python /home/tclose/fouts/python/plot_base_signal.py | ||
|
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env python | ||
import numpy as np | ||
import matplotlib.pyplot as plt | ||
d = np.loadtxt('/home/tclose/Desktop/intensities') | ||
plt.plot(d) | ||
plt.show() |
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