Hello,
I'm working with the N2HET SWAG (APCNT, SCNT, ACNT) and I'm having some issues. It seems like the SWAG will completely miss teeth. I did some debugging and found the following:
First, the way my N2HET code is set up is that I find the gap (missing teeth/singularity) and then I start the SWAG. You can see in the picture below where I find the gap and when I start the SWAG:
Here is my SWAG code:
You can see in the first picture that there are SCNT counts missing. You can see it more clear here:
You can see that the SCNT correctly counts 8 steps in the first period (I have SCNT step=8). However, in the next period it completely stops. And then it starts again. This causes the SWAG to be wildly inaccurate.
Can anyone shed any light on this? Thanks.


