public bool NeedsReprocess(ProcessingOptions r) { return(false); }
public bool NeedsReprocessPost(ProcessingOptions r) { bool Equal = !NeedsReprocessInput(r) && !NeedsReprocessPre(r) && !NeedsReprocessCTF(r) && !NeedsReprocessMovement(r); Equal &= !r.PostAverage || PostAverage; Equal &= !r.PostStack || (PostStack && r.PostStackGroupSize == PostStackGroupSize); return !Equal; }
public bool NeedsReprocessPre(ProcessingOptions r) { bool Equal = !NeedsReprocessInput(r); if (r.CorrectGain) Equal = r.CorrectGain == CorrectGain && r.GainPath == GainPath; return !Equal; }
public bool NeedsReprocessParticles(ProcessingOptions r) { bool Equal = r.DataStarPath == DataStarPath && r.ModelStarPath == ModelStarPath && r.ReferencePath == ReferencePath && r.MaskPath == MaskPath && r.ProjectionOversample == ProjectionOversample; return !Equal; }
public bool NeedsReprocessMovement(ProcessingOptions r) { bool Equal = !NeedsReprocessInput(r) && !NeedsReprocessPre(r); if (r.ProcessMovement) { Equal = Equal && r.MovementRangeMin == MovementRangeMin && r.MovementRangeMax == MovementRangeMax && r.MovementBfactor == MovementBfactor && r.GridMoveX == GridMoveX && r.GridMoveY == GridMoveY && r.GridMoveZ == GridMoveZ && r.MovementGridReduction == MovementGridReduction; if (r.ProcessParticleShift) Equal = Equal && r.ProcessParticleShift == ProcessParticleShift && !NeedsReprocessParticles(r); } return !Equal; }
public bool NeedsReprocessInput(ProcessingOptions r) { bool Equal = r.PixelMin == PixelMin && r.PixelMax == PixelMax && r.PixelAngle == PixelAngle && r.DetectorPixel == DetectorPixel && r.BinTimes == BinTimes; return !Equal; }
public bool NeedsReprocessCTF(ProcessingOptions r) { bool Equal = !NeedsReprocessInput(r) && !NeedsReprocessPre(r); if (r.ProcessCTF) { Equal = Equal && r.CTFWindow == CTFWindow && r.CTFRangeMin == CTFRangeMin && r.CTFRangeMax == CTFRangeMax && r.CTFVoltage == CTFVoltage && r.CTFCs == CTFCs && r.CTFAmplitude == CTFAmplitude && r.CTFDoPhase == CTFDoPhase && r.CTFAstigmatism == CTFAstigmatism && r.CTFAstigmatismAngle == CTFAstigmatismAngle && r.CTFZMin == CTFZMin && r.CTFZMax == CTFZMax && r.GridCTFX == GridCTFX && r.GridCTFY == GridCTFY && r.GridCTFZ == GridCTFZ; if (r.ProcessParticleCTF) Equal = Equal && r.ProcessParticleCTF == ProcessParticleCTF && !NeedsReprocessParticles(r); } return !Equal; }
public bool NeedsReprocess(ProcessingOptions r) { return false; }