Skip to content
Snippets Groups Projects
Commit 00e7656f authored by Alán Muñoz's avatar Alán Muñoz
Browse files

Vph1 test file to postprocess.py script

parent 60b18601
No related branches found
No related tags found
No related merge requests found
...@@ -5,9 +5,7 @@ from postprocessor.core.processor import PostProcessorParameters, PostProcessor ...@@ -5,9 +5,7 @@ from postprocessor.core.processor import PostProcessorParameters, PostProcessor
from pathlib import Path from pathlib import Path
fpath = Path( fpath = Path("/home/alan/Downloads/Vph1_005.h5")
"/home/alan/Documents/dev/stoa_libs/pipeline-core/data/2021_11_04_doseResponse_raf_1_15_2_glu_01_2_dual_phluorin_whi5_constantMedia_00/glu_01_016.h5"
)
with h5py.File(fpath, "a") as f: with h5py.File(fpath, "a") as f:
if "postprocessing" in f: if "postprocessing" in f:
...@@ -18,3 +16,13 @@ with h5py.File(fpath, "a") as f: ...@@ -18,3 +16,13 @@ with h5py.File(fpath, "a") as f:
params = PostProcessorParameters.default().to_dict() params = PostProcessorParameters.default().to_dict()
pp = PostProcessor(fpath, params) pp = PostProcessor(fpath, params)
pp.run() pp.run()
from aliby.io.signal import Signal
s = Signal(fpath)
vol = s["extraction/general/None/volume"]
import seaborn as sns
import matplotlib.pyplot as plt
sns.heatmap(vol.sort_index(), robust=True)
plt.show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment