protected void IVPextractWiggle(ParamicsPuppetMaster.ParamicsDBiLite PDBin, string[] source, double[] Xsig, double[] Vsig, double[] SenPC)
 {
     if (Xsig.Length != Vsig.Length || Xsig.Length != SenPC.Length || Xsig.Length != source.Length)
     {
         throw new Exception("The lengths of the array input to this function do not match");
     }
     ParamicsPuppetMaster.ReadSnapshotFileLite RSN = new ParamicsPuppetMaster.ReadSnapshotFileLite(Path);
     ParamicsPuppetMaster.LiteToPDB            TDB = new ParamicsPuppetMaster.LiteToPDB(RSN, EN, EL, PDBin);
     for (int i = 0; i < Xsig.Length; i++)
     {
         TDB.AddLineToDBStoch(source[i], Xsig[i], Vsig[i], SenPC[i]);
     }
 }
 protected void IVPextract(ParamicsPuppetMaster.ParamicsDBiLite PDBin)
 {
     ParamicsPuppetMaster.ReadSnapshotFileLite RSN = new ParamicsPuppetMaster.ReadSnapshotFileLite(Path);
     ParamicsPuppetMaster.LiteToPDB            TDB = new ParamicsPuppetMaster.LiteToPDB(RSN, EN, EL, PDBin);
     TDB.AddLineToDB();
 }