forked from IntrAnatSEEGSoftware/IntrAnat
-
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.
- Loading branch information
Showing
58 changed files
with
34,757 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,123 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>Form</class> | ||
<widget class="QWidget" name="Form"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>802</width> | ||
<height>349</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Form</string> | ||
</property> | ||
<widget class="QWidget" name="verticalLayoutWidget"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>-1</x> | ||
<y>9</y> | ||
<width>801</width> | ||
<height>291</height> | ||
</rect> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<item> | ||
<widget class="QLabel" name="label"> | ||
<property name="text"> | ||
<string>Deeto Maison</string> | ||
</property> | ||
<property name="alignment"> | ||
<set>Qt::AlignCenter</set> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<layout class="QHBoxLayout" name="horizontalLayout"> | ||
<item> | ||
<layout class="QVBoxLayout" name="verticalLayout_2"> | ||
<item> | ||
<widget class="QLabel" name="label_2"> | ||
<property name="text"> | ||
<string>Electrode List</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QListView" name="listViewElectrodes"/> | ||
</item> | ||
</layout> | ||
</item> | ||
<item> | ||
<layout class="QVBoxLayout" name="verticalLayout_3"> | ||
<item> | ||
<widget class="QPushButton" name="pushButtonOk"> | ||
<property name="text"> | ||
<string>Ok</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="pushButtonElecAppear"> | ||
<property name="text"> | ||
<string>Print Electrodes</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="pushButtonRemoveElec"> | ||
<property name="text"> | ||
<string>Remove Electrode</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
</widget> | ||
<widget class="QPushButton" name="pushButtonCheckElec"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>198</x> | ||
<y>310</y> | ||
<width>151</width> | ||
<height>27</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string>Check all electrodes</string> | ||
</property> | ||
</widget> | ||
<widget class="QPushButton" name="pushButtonUncheckElec"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>380</x> | ||
<y>310</y> | ||
<width>171</width> | ||
<height>27</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string>Uncheck all electrodes</string> | ||
</property> | ||
</widget> | ||
<widget class="QCheckBox" name="checkBoxSerpentins"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>671</x> | ||
<y>310</y> | ||
<width>101</width> | ||
<height>20</height> | ||
</rect> | ||
</property> | ||
<property name="text"> | ||
<string>Serpentins?</string> | ||
</property> | ||
</widget> | ||
</widget> | ||
<resources/> | ||
<connections/> | ||
</ui> |
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,41 @@ | ||
<!DOCTYPE XUPProject> | ||
<!-- | ||
########################################################################################### | ||
## Created using Monkey Studio v1.8.4.0b2 (1.8.4.0b2) | ||
## | ||
## Author : Manik Bhattacharjee <[email protected]> | ||
## Project : Image Import | ||
## FileName : Image Import.xpythonqt | ||
## Date : 2012-07-12T17:52:52 | ||
## License : GPL | ||
## Comment : Creating using Monkey Studio RAD | ||
## Home Page : | ||
## | ||
## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
## | ||
########################################################################################### | ||
--> | ||
<project version="1.1.0" name="Image Import"> | ||
<scope nested="false" name="XUPProjectSettings"> | ||
<variable operator="=" name="EDITOR" multiline="false"> | ||
<value content="PyQt"/> | ||
</variable> | ||
<variable name="MAIN_FILE" multiline="true"> | ||
<value content="ImageImport.py"/> | ||
</variable> | ||
</scope> | ||
<variable operator="=" name="FORMS" multiline="true"> | ||
<file content="ImageImportUI.ui"/> | ||
<file content="epilepsie-electrodes.ui"/> | ||
</variable> | ||
<variable operator="=" name="PYTHON_FILES" multiline="true"> | ||
<file content="ImageImport.py"/> | ||
<file content="ImageImportWindow.py"/> | ||
<file content="locateElectrodes.py"/> | ||
<file content="prepareData.py"/> | ||
<file content="editor.py"/> | ||
<file content="externalprocesses.py"/> | ||
<file content="dicomutilities.py"/> | ||
</variable> | ||
</project> |
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,36 @@ | ||
#! /usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Import and register images in the database | ||
# | ||
# (c) Inserm U836 2012-2014 - Manik Bhattacharjee | ||
# | ||
# License GNU GPL v3 | ||
# | ||
|
||
|
||
import sys | ||
|
||
# import PyQt4 QtCore and QtGui modules | ||
from PyQt4.QtCore import * | ||
from PyQt4.QtGui import * | ||
|
||
from ImageImportWindow import ImageImportWindow | ||
|
||
if __name__ == '__main__': | ||
|
||
# create application | ||
app = QApplication(sys.argv) | ||
app.setApplicationName('Image Import') | ||
|
||
# create widget | ||
w = ImageImportWindow() | ||
w.setWindowTitle('Image Import - NOT FOR MEDICAL USAGE') | ||
w.show() | ||
|
||
# connection | ||
QObject.connect(app, SIGNAL('lastWindowClosed()'), app, SLOT('quit()')) | ||
# Debug -> evite un pb entre ipython, pdb et qt | ||
pyqtRemoveInputHook() | ||
# execute application | ||
sys.exit(app.exec_()) |
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,8 @@ | ||
#!/bin/bash | ||
cd /Users/admin/Softwares/BrainVISA-4.5/bin/ | ||
. /Users/admin/Softwares/BrainVISA-4.5/bin/bv_env.sh /Users/admin/Softwares/BrainVISA-4.5 | ||
cd /Users/admin/Documents/GIT/IntrAnatElectrodes/epilepsie/ | ||
echo "#############################################################################" >> intranat-imageImport-`whoami`.log | ||
date >> intranat-imageImport-`whoami`.log | ||
python ImageImport.py >> intranat-imageImport-`whoami`.log | ||
|
Oops, something went wrong.