|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstatalign.postprocess.Postprocess
statalign.postprocess.plugins.structalign.RmsdTrace
public class RmsdTrace
| Field Summary | |
|---|---|
double[][] |
distanceMatrix
|
java.lang.String[] |
fullAlign
|
StructAlign |
structAlign
|
| Fields inherited from class statalign.postprocess.Postprocess |
|---|
active, alignmentType, file, hasToolBar, mcmc, outputable, outputFile, postprocessable, postprocessWrite, rnaAssociated, sampling, screenable, selected, show |
| Constructor Summary | |
|---|---|
RmsdTrace()
|
|
| Method Summary | |
|---|---|
void |
afterLastSample()
This function is called after the MCMC runs. |
void |
beforeFirstSample(InputData inputData)
Called before MCMC start. |
double[] |
calcGyration()
|
double[][] |
calcMSD()
|
double[][] |
calcSeqID()
|
java.lang.String[] |
getDependences()
Override this and return an array of full-qualified class names of the plugins this plugin depends on. |
java.lang.String |
getFileExtension()
Returns default file extension that is to appended to the input file name to get the file this plugin is writing into. |
javax.swing.Icon |
getIcon()
|
javax.swing.JPanel |
getJPanel()
|
java.lang.String |
getTabName()
|
java.lang.String |
getTip()
Returns with the tip information (shown when the mouse cursor is moved over the label of the tabulated panel) |
void |
init(ModelExtManager modelExtMan)
Called by PostprocessManager after setting the Postprocess.show field to allow initialisation,
possibly involving GUI (toolbar etc.) |
void |
newPeek(State state)
Allows peeking into the Markov chain before actual sampling begins. |
void |
newSample(State state,
int no,
int total)
This function is called when we sample from the Markov chain. |
static void |
printMatrix(double[][] m)
|
void |
refToDependences(Postprocess[] plugins)
Override this to get access to instances of the plugins your plugin depends on. |
void |
setSampling(boolean enabled)
This function switches on or off the sampling mode. |
double |
sqDistance(double[] x,
double[] y)
|
void |
updateTracks(java.lang.String[] align)
|
| Methods inherited from class statalign.postprocess.Postprocess |
|---|
addTrack, getModExtPlugins, getTabOrder, getToolBarItems, getTracks, newSample, newStep, reloadPanel, setSelected |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public StructAlign structAlign
public double[][] distanceMatrix
public java.lang.String[] fullAlign
| Constructor Detail |
|---|
public RmsdTrace()
| Method Detail |
|---|
public java.lang.String getFileExtension()
Postprocess
getFileExtension in class Postprocesspublic void setSampling(boolean enabled)
Postprocess
setSampling in class Postprocessenabled - Set it true if you need samples.public void init(ModelExtManager modelExtMan)
PostprocessPostprocessManager after setting the Postprocess.show field to allow initialisation,
possibly involving GUI (toolbar etc.)
init in class Postprocesspublic java.lang.String[] getDependences()
Postprocess
getDependences in class Postprocesspublic void refToDependences(Postprocess[] plugins)
Postprocess
refToDependences in class Postprocessplugins - reference to Postprocess objects in the order they are specified
in getDependences() or null if it returns nullpublic void beforeFirstSample(InputData inputData)
Postprocess
beforeFirstSample in class Postprocesspublic void newPeek(State state)
PostprocessPostprocess.newSample(State, int, int). Unlike that method, this one is called both
during and after the burn-in period.
newPeek in class Postprocessstate - A State object representing the current state of the chain
public void newSample(State state,
int no,
int total)
PostprocessPostprocess.newPeek(State state),
this method is only called after the burn-in period.
newSample in class Postprocessstate - A State object representing the current state of the chainno - The number of the current sampletotal - The number of the total samplespublic void afterLastSample()
Postprocess
afterLastSample in class Postprocesspublic static void printMatrix(double[][] m)
public double[][] calcMSD()
public void updateTracks(java.lang.String[] align)
public double sqDistance(double[] x,
double[] y)
public double[] calcGyration()
public double[][] calcSeqID()
public java.lang.String getTabName()
getTabName in class Postprocesspublic javax.swing.Icon getIcon()
getIcon in class Postprocesspublic javax.swing.JPanel getJPanel()
getJPanel in class Postprocesspublic java.lang.String getTip()
Postprocess
getTip in class Postprocess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||