-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing skimage dependency to pull the dataset
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 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
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,9 @@ | ||
#!/bin/bash | ||
|
||
# shellcheck source=/dev/null | ||
. /etc/profile.d/epics.sh | ||
|
||
export EPICS_CAS_AUTO_BEACON_ADDR_LIST="no" | ||
export EPICS_CAS_BEACON_ADDR_LIST="${EPICS_CA_ADDR_LIST}" | ||
|
||
python -m srx_caproto_iocs.base --prefix="BASE:{{Dev:Save1}}:" --list-pvs |
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,21 @@ | ||
#!/bin/bash | ||
|
||
# shellcheck source=/dev/null | ||
. /etc/profile.d/epics.sh | ||
|
||
data_dir="/tmp/test/$(date +%Y/%m/%d)" | ||
|
||
if [ ! -d "${data_dir}" ]; then | ||
mkdir -v -p "${data_dir}" | ||
fi | ||
|
||
caput "BASE:{Dev:Save1}:write_dir" "${data_dir}" | ||
caput "BASE:{Dev:Save1}:file_name" "saveme_{num:06d}_{uid}.h5" | ||
caput "BASE:{Dev:Save1}:stage" 1 | ||
for i in $(seq 50); do | ||
echo "$i" | ||
sleep 0.1 | ||
caput "BASE:{Dev:Save1}:acquire" 1 | ||
done | ||
|
||
caput "BASE:{Dev:Save1}:stage" 0 |