dicom:userguide:thinknode
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dicom:userguide:thinknode [2015/09/29 03:14] – [Posting a Dicom Patient] kerhart | dicom:userguide:thinknode [2021/07/29 18:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 23: | Line 23: | ||
from lib import decimal_logging as dl | from lib import decimal_logging as dl | ||
+ | # Get IAM ids | ||
+ | iam = thinknode.authenticate(thinknode.read_config(' | ||
+ | |||
# Create a study | # Create a study | ||
study_id = dicom.make_rt_study_from_dir(iam, | study_id = dicom.make_rt_study_from_dir(iam, | ||
Line 28: | Line 31: | ||
# Combine uploaded CT image slices into an Image_3d datatype | # Combine uploaded CT image slices into an Image_3d datatype | ||
study_calc = \ | study_calc = \ | ||
- | thinknode.function(' | + | thinknode.function(iam[" |
[ | [ | ||
thinknode.reference(study_id) | thinknode.reference(study_id) | ||
]) | ]) | ||
- | study_res = thinknode.do_calculation(iam, ' | + | study_res = thinknode.do_calculation(iam, |
dl.data(" | dl.data(" | ||
</ | </ |
dicom/userguide/thinknode.1443496498.txt.gz · Last modified: 2021/07/29 18:21 (external edit)