Menu

#39 Importing micro-scaffold geometries

Support request
open
nobody
None
2021-02-28
2020-11-14
No

Greetings!
I am trying to simulate the influence of different micro-scaffold geometries on cell behavior. So, I need to import the scaffold geometry into the platform before seeding it. Any help will be appreciated.
Thanks.

Discussion

  • Paul Macklin

    Paul Macklin - 2021-02-28

    Hello!

    We are working on a new feature for 1.8.0 that wll allow you to import a CSV for cell positions.

    If you can write a text file where each line is one cell:
    x,y,z,type

    x = x position
    y = y position
    z = z position
    type = index of one of your cell definitions

    Then we can have PhysiCell place these cells.

     
  • Paul Macklin

    Paul Macklin - 2021-02-28

    Have a look for the following function (defined in modules/PhysiCell_geometry.h):

    void load_cells_csv( std::string filename );

    If you place this in setup_tissue(), it shoudl do the trick!

    Thanks!

     
  • Paul Macklin

    Paul Macklin - 2021-02-28

    If you mean a scaffold for a non-diffusing field, we'd have a work harder on this. We'd need to load it from a file an manually write it to your mesh locations. setup_microenvironment() is the ideal place to do that.

    note taht we do ahve a way to load matlab files directly, so you could use that to load the data (saved as a mat file), adn then manually write to your voxels.

     

Log in to post a comment.