public class ProtStat extends Object implements IQuimpSerialize
Modifier and Type | Field and Description |
---|---|
com.github.celldynamics.quimp.plugin.protanalysis.ProtStat.CellStatistics |
cellStatistics
Hold cell shape based statistics.
|
com.github.celldynamics.quimp.plugin.protanalysis.ProtStat.ProtrusionStatistics |
protStatistics
Hold protrusion statistics.
|
Constructor and Description |
---|
ProtStat(MaximaFinder mf,
TrackCollection tc,
CellStats cs,
STmap maps)
Construct the object using various data containers.
|
Modifier and Type | Method and Description |
---|---|
void |
afterSerialize()
This method is called after restoring object from JSON but before returning the object.
|
void |
beforeSerialize()
This method is called just before JSON is generated.
|
void |
writeCell(PrintWriter bf,
int cellno)
Add stats for this cell to output.
|
void |
writeProtrusion(PrintWriter bf,
int cellno)
Write stats for protrusions for this cell.
|
public com.github.celldynamics.quimp.plugin.protanalysis.ProtStat.CellStatistics cellStatistics
public com.github.celldynamics.quimp.plugin.protanalysis.ProtStat.ProtrusionStatistics protStatistics
public ProtStat(MaximaFinder mf, TrackCollection tc, CellStats cs, STmap maps)
mf
- MaximaFindertc
- TrackCollectioncs
- CellStatsmaps
- STmappublic void writeCell(PrintWriter bf, int cellno)
bf
- place to writecellno
- Cell numberpublic void writeProtrusion(PrintWriter bf, int cellno)
bf
- place to writecellno
- Cell number.public void beforeSerialize()
IQuimpSerialize
beforeSerialize
in interface IQuimpSerialize
Serializer.save(String)
public void afterSerialize() throws Exception
IQuimpSerialize
afterSerialize
in interface IQuimpSerialize
Exception
- from wrapped object in any problem. This is implementation dependentSerializer.load(String)
Copyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.