You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: man/HOWTO.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,5 @@ pyMCDS.py and the pyMCDS class is very lightweight.
146
146
Besides the python3 core library, this code has only matplotlib, numpy, pandas, scipy, and vtk library dependencies.\
147
147
The pyMCDS class evolved into the pcdl.TimeStep class, which has additionally anndata dependency, which makes the library slightly heavier but much more powerful for downstream data analysis.
148
148
Apart from that, pcdl offers the pcdl.TimeSeries class to handle the mcds snapshots from an entire PhysiCell run, and a set of functions that can be run straight from the command line, without even having to fire up a python3 shell.
149
-
Finally, branch version 4 broke with this ancient library structure because it is just out of time to run the code like this.\
150
-
Stay assured, if you like pyMCDS.py, it is there to last.
151
-
We will keep on maintaining pyMCDS.py from branch version 3.
149
+
Future branch version 4 will abandon this ancient library structure to become more concise.
150
+
Don't fear. pyMCDS.py is there to last. We will keep on maintaining pyMCDS.py from branch version 3.
+ make_ : make functions generate file output (gml, vtk).
38
38
+ plot_ : plot functions generate a matplotlib figure, or axis object, or file output (jpeg, png, tiff), depending on your parameter settings.
39
39
40
40
### TimeStep initialize
@@ -80,6 +80,8 @@ Basically, there are four types of functions:
80
80
+[help(mcds.get_substrate_list)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcds.get_substrate_list.md) #! workhorse function
+[help(mcds.get_conc_df)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcds.get_conc_df.md) #! workhorse function
84
86
+[help(mcds.plot_contour)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcds.plot_contour.md) #! workhorse function
85
87
+[help(mcds.make_conc_vtk)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcds.make_conc_vtk.md) #! workhorse function
@@ -88,6 +90,7 @@ Basically, there are four types of functions:
88
90
+[help(mcds.get_celltype_list)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcds.get_celltype_list.md) #! workhorse function
+[help(mcds.make_graph_gml)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcds.make_graph_gml.md) #! workhose function
99
102
100
-
### TimeStep microenvironment and cells
101
-
+[help(mcds.make_ome_tiff)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcds.make_ome_tiff.md) #! workhose function
102
-
+[help(mcds.make_neuroglancer)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcds.make_neuroglancer.md) #! workhose function
+ plot_ : plot functions generate a matplotlib figure, or axis object, or file output (jpeg, png, tiff), depending on your parameter settings.
120
119
121
120
### TimeSeries initialization
@@ -143,10 +142,6 @@ Basically, there are four types of functions:
143
142
### TimeSeries cell graph
144
143
+[help(mcdsts.get_graph_gml)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcdsts.make_graph_gml.md) #! workhose function
145
144
146
-
### TimeSteries microenvironment and cells
147
-
+[help(mcdsts.make_ome_tiff)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcdsts.make_ome_tiff.md) #! workhose function
148
-
+[help(mcdsts.make_neuroglancer)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcdsts.make_neuroglancer.md) #! workhose function
149
-
150
145
### Timeseries timeseries
151
146
+[help(mcdsts.plot_timeseries)](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/mcdsts.plot_timeseries.md) #! workhorse function
152
147
@@ -159,8 +154,8 @@ Basically, there are four types of functions:
@@ -193,10 +188,6 @@ The command line interface functions mimic the name and parameter arguments as c
193
188
### Command line cell graph
194
189
+[pcdl_make_graph_gml --help](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/pcdl_make_graph_gml.md) #! workhorse function
195
190
196
-
### Command line cells and microenvironment
197
-
+[pcdl_make_ome_tiff --help](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/pcdl_make_ome_tiff.md) #! workhorse function
198
-
+[pcdl_make_neuroglancer --help](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/pcdl_make_neuroglancer.md) #! workhorse function
199
-
200
191
### Command line timeseries
201
192
+[pcdl_plot_timeseries --help](https://github.com/elmbeech/physicelldataloader/tree/master/man/docstring/pcdl_plot_timeseries.md) #! workhorse function
Copy file name to clipboardExpand all lines: man/TUTORIAL_blender.md
-28Lines changed: 0 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,6 @@
3
3
[Blender](https://www.blender.org/) is a modeling, rigging, animation, simulation, rendering, compositing, motion tracking, video editing, and game creation software.
4
4
Blender is free and open source.
5
5
There exists a vtk nodes plugin, that lets us load <!-- vtk rectilinear grid data, -->vtk polynomial data files.
6
-
And there exists a bioxel nodes plugin, that lets us load ome tiff files.
7
6
8
7
9
8
## ✨ Handle vtk files
@@ -64,31 +63,4 @@ To learn more about Blender and BVTK Node plugin, please study the official docu
64
63
+https://docs.blender.org/manual/en/latest/
65
64
66
65
67
-
## ✨ Handle ome tiff files
68
-
69
-
The blender bioxel nodes plugin allows us load single time step ome tiff files into blender.
70
-
71
-
### Generate ome tiff files from the command line
72
-
73
-
```bash
74
-
pcdl_make_ome_tiff output --collapse false
75
-
```
76
-
77
-
### Generate ome tiff files from within python
78
-
79
-
```python
80
-
import pcdl
81
-
82
-
mcdsts = pcdl.TimeSeries('output/')
83
-
mcdsts.make_ome_tiff(collapse=False)
84
-
```
85
-
86
-
### The blender bioxel nodes plugin
87
-
88
-
Please follow the official bioxel nodes instructions for installation
Copy file name to clipboardExpand all lines: man/TUTORIAL_commandline.md
+9-69Lines changed: 9 additions & 69 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# PhysiCell Data Loader Tutorial: pcdl from the Commandline
2
2
3
+
<!-- bue 2024-08-22: have to check if this works from dos and power shell. it will work somehow, because i can run the cli unit tests -->
4
+
3
5
The most important commands for down stream data analysis,
4
6
available in the pcdl TimeStep and TimeSeries class,
5
7
can be run straight from a command line shell, like [bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell)), [csh](https://en.wikipedia.org/wiki/C_shell), [dos](https://en.wikipedia.org/wiki/DOS), [fish](https://en.wikipedia.org/wiki/Fish_(Unix_shell)), [ksh](https://en.wikipedia.org/wiki/KornShell), [powershell](https://en.wikipedia.org/wiki/PowerShell), [sh](https://en.wikipedia.org/wiki/Bourne_shell), [tsh](https://en.wikipedia.org/wiki/Tcsh), or [zsh](https://en.wikipedia.org/wiki/Z_shell), to name a view.
@@ -9,7 +11,7 @@ The command parameter mimics the related python3 function arguments as closely a
9
11
You can always call the [help](https://en.wikipedia.org/wiki/Help!) parameter ( pcdl\_command -h),
10
12
to access the man page for a pcdl command!
11
13
12
-
Please spend some time to learn about each of the about 20 commands, by studying its man page.
14
+
Please spend some time to learn about each of the 18 commands, by studying its man page.
Generate an [ome.tiff](https://ome-model.readthedocs.io/en/stable/index.html) file,
404
-
to analyze a single time step or the whole time series,
405
-
the same way as usually fluorescent microscopy data is analyzed.
406
-
407
-
By default, the cell\_attribute outputted is the cell ID + 1.
408
-
However, any numerical (bool, int, float) cell\_attribute can be outputted.
409
-
For example: dead, cells\_per\_voxel, or pressure.
410
-
411
-
These ome.tiff files can be further analyzed,
412
-
for example with the [Napari](https://napari.org/stable/) or [Fiji Imagej](https://fiji.sc/) or [Neuroglancer](https://research.google/blog/an-interactive-automated-3d-reconstruction-of-a-fly-brain/) or [Blender](https://www.blender.org/) or similar software,
With this command, you can render a time step ome.tiff file or a time step from a whole time series ome.tiff file straight into [Neuroglancer](https://research.google/blog/an-interactive-automated-3d-reconstruction-of-a-fly-brain/), which is a [WebGL](https://en.wikipedia.org/wiki/WebGL)-based viewer that will render the ome.tiff straight in your browser.
395
+
Make a [mp4](https://en.wikipedia.org/wiki/MP4_file_format) movie from the jpeg plots from a time series.
435
396
436
-
Below, we render a time step into Neuroglancer, first utilizing the time step ome.tiff, then using the whole time series ome.tiff.
437
-
You can only render one time step at a time and not a entire time series, like, for example, in napari.
0 commit comments