We start with the imports:
import dicom
import os
import numpy
The
pydicom
package can be installed throughpip
and can be found in https://pypi.python.org/pypi/pydicom/
# proxy confounder problem | |
# cf https://twitter.com/y2silence/status/1251151157264674816 | |
# note that I rename X1,X2 to A,B and A to X | |
# The DAG: | |
# X -> Y | |
# X <- U -> Y | |
# A <- U -> B | |
# Can we use A and B to deconfound X->Y? |
We start with the imports:
import dicom
import os
import numpy
The
pydicom
package can be installed throughpip
and can be found in https://pypi.python.org/pypi/pydicom/