Report

This template is used to write a java class that describes the creation of a report table based on the model.

import ru.biosoft.physicell.core.ReportGenerator;
import ru.biosoft.physicell.core.Cell;

public class MyReport extends ReportGenerator
{

   // Class fields if needed

   public String[] getReportHeaderElements()
   {

      // Code that creates and returns an array of strings. Each string is a column name in the report table
      // For example:
      // return new String[] {"ID", "X", "Y", "Z", "Oncoprotein"};

   }

   public Object[] getReportElements(Cell cell) throws Exception
   {

      // Code that creates and returns an array of cell components. The order of components must match the column order
      // For example:
      // return new Object[] {cell.ID, cell.position[0], cell.position[1], cell.position[2], cell.getModel().signals.getSingleSignal( cell, "custom:oncoprotein" )};

   }

   // Additional methods if needed

}