-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from nikitinvv/master
add plane rotation recon
- Loading branch information
Showing
16 changed files
with
565 additions
and
182 deletions.
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,6 @@ | ||
TOP = ../.. | ||
include $(TOP)/configure/CONFIG | ||
#ARCH = windows-x64-static | ||
ARCH = linux-x86_64 | ||
TARGETS = envPaths dllPath.bat | ||
include $(TOP)/configure/RULES.ioc |
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,2 @@ | ||
file "tomoStream.req", P=$(P), R=$(R) | ||
file "tomoStream_settings.req", P=$(P), R=$(R) |
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,3 @@ | ||
This directory contains the save/restore files to retain settings between IOC reboots. | ||
The distribution directory does not contain a auto_settings.sav file, but this will | ||
be created the first time the IOC is run. |
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 @@ | ||
### save_restore setup | ||
# | ||
# The rest this file does not require modification for standard use, but... | ||
# If you want save_restore to manage its own NFS mount, specify the name and | ||
# IP address of the file server to which save files should be written. | ||
# This currently is supported only on vxWorks. | ||
#save_restoreSet_NFSHost("oxygen", "164.54.52.4") | ||
|
||
# Debug-output level | ||
save_restoreSet_Debug(0) | ||
|
||
# Ok to save/restore save sets with missing values (no CA connection to PV)? | ||
save_restoreSet_IncompleteSetsOk(1) | ||
# Save dated backup files? | ||
save_restoreSet_DatedBackupFiles(1) | ||
|
||
# Number of sequenced backup files to write | ||
save_restoreSet_NumSeqFiles(3) | ||
# Time interval between sequenced backups | ||
save_restoreSet_SeqPeriodInSeconds(300) | ||
|
||
# specify where save files should be | ||
set_savefile_path(".", "autosave") | ||
|
||
# specify what save files should be restored. Note these files must be | ||
# in the directory specified in set_savefile_path(), or, if that function | ||
# has not been called, from the directory current when iocInit is invoked | ||
set_pass0_restoreFile("auto_settings.sav") | ||
set_pass1_restoreFile("auto_settings.sav") | ||
|
||
# specify directories in which to to search for included request files | ||
# Note cdCommands defines 'startup', but envPaths does not | ||
set_requestfile_path(".", "") | ||
set_requestfile_path(".", "autosave") | ||
set_requestfile_path($(AUTOSAVE), "db") | ||
set_requestfile_path($(TOP), "db") |
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,25 @@ | ||
< envPaths | ||
|
||
epicsEnvSet("P", "32id:") | ||
epicsEnvSet("R", "TomoStream:") | ||
|
||
## Register all support components | ||
|
||
# Use these lines to run the locally built tomoStreamApp | ||
dbLoadDatabase "../../dbd/tomoStreamApp.dbd" | ||
tomoStreamApp_registerRecordDeviceDriver pdbbase | ||
|
||
# Use these lines to run the xxx application on APSshare. | ||
#dbLoadDatabase "/APSshare/epics/synApps_6_1/support/xxx-R6-1/dbd/iocxxxLinux.dbd" | ||
#iocxxxLinux_registerRecordDeviceDriver pdbbase | ||
|
||
|
||
dbLoadTemplate("tomoStream.substitutions") | ||
|
||
< save_restore.cmd | ||
save_restoreSet_status_prefix($(P)) | ||
dbLoadRecords("$(AUTOSAVE)/asApp/Db/save_restoreStatus.db", "P=$(P)") | ||
|
||
iocInit | ||
|
||
create_monitor_set("auto_settings.req", 30, "P=$(P),R=$(R)") |
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 @@ | ||
# Use this line to run the locally built tomoStreamApp | ||
../../bin/linux-x86_64/tomoStreamApp st.cmd | ||
|
||
# Use this line to run the xxx application on /APSshare | ||
#/APSshare/epics/synApps_6_1/support/xxx-R6-1/bin/linux-x86_64/xxx st.cmd | ||
|
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 @@ | ||
medm -x -macro "P=32id:,R=TomoStream:" ../../tomoStreamApp/op/adl/tomoStream.adl & |
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 @@ | ||
# This script creates an object of type TomoStream for doing tomography streaming reconstruction | ||
# To run this script type the following: | ||
# python -i start_tomostream.py | ||
# The -i is needed to keep Python running, otherwise it will create the object and exit | ||
from tomostream.tomostream import TomoStream | ||
ts = TomoStream(["../../db/tomoStream_settings.req","../../db/tomoStream_settings.req"], {"$(P)":"32id:", "$(R)":"TomoStream:"}) |
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 @@ | ||
file "$(TOP)/db/tomoStream.template" | ||
{ | ||
pattern | ||
{ P, R, TOMO_SCAN, IMAGE_P, DARK_PVA, FLAT_PVA, THETA_PVA, RECON_PVA} | ||
{32id:, TomoStream:, 32id:TomoScanStream:, 32id:TomoScanStream:PvaPluginPVPrefix, 32id:TomoScanStream:StreamDarkFields, 32id:TomoScanStream:StreamFlatFields, 32id:TomoScanStream:StreamTheta, 32id:TomoStream:StreamRecon} | ||
} |
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
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
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
Oops, something went wrong.