62 reputation
5
bio website
location
age
visits member for 1 year, 10 months
seen May 21 at 15:38

Jan
8
asked Renaming files of form FileName(i).csv to NewNamej(k).csv where j increments and k resets to 1 when there is a jump in i?
Nov
28
revised Analytically finding critical values in a hysteresis curve made with ListPlot
added 1754 characters in body
Nov
28
awarded  Scholar
Nov
28
awarded  Supporter
Nov
28
comment Analytically finding critical values in a hysteresis curve made with ListPlot
For some particularly ugly data this sometimes gets the wrong hopping points but it works overall. Thank you very much for the answer! I may end up playing around a little with the threshold definition to get it to work differently.
Nov
28
accepted Analytically finding critical values in a hysteresis curve made with ListPlot
Nov
26
comment Analytically finding critical values in a hysteresis curve made with ListPlot
This looks pretty good... I'll play around with this with a few other data sets and see if there are any hiccups. Thank you!
Nov
26
comment Analytically finding critical values in a hysteresis curve made with ListPlot
The numerical sorting to find the "saturated" y values works great so far! The second half of your solution is extremely close to working well, but it doesn't properly deal with the fact that there are two coercive values. It found the negative value with a good deal of accuracy. I may work on splitting my "pairs" variable into one for increasing values and one for decreasing values.
Nov
26
comment Analytically finding critical values in a hysteresis curve made with ListPlot
@rcollyer That may certainly be one way to do it. About a year or so ago I wrote some Python code to split similar data into a ramping up and ramping down file, but I have since become more proficient with Mathematica. I can probably think of ways to do that but I'd ideally want to avoid it. My eventual goal is to build a notebook which will, with minimal input from me, run through several dozen sets of data and extract these values.
Nov
26
comment Analytically finding critical values in a hysteresis curve made with ListPlot
Thanks for the response. Sorting my real data by x value may be problematic in the "hysteretic" region where there are two very different y values. The data comes in naturally ordered as subsequent pairs, so I should be able to skip this step anyways. I have added a link to a csv file of real raw data as an edit at the bottom of the original post. I will take a look at implementing the rest of your suggestion when I get a chance; I'm working on some other things for the moment.
Nov
26
comment Analytically finding critical values in a hysteresis curve made with ListPlot
@DanielLichtblau I have added raw data as you requested. The data is by nature ordered sequentially by x value starting from zero. The x values end up repeating because the measurement requires that we end up back at the starting x value. I was thinking of something similar to what you're describing but I don't immediately see how to implement it.
Nov
26
awarded  Editor
Nov
26
revised Analytically finding critical values in a hysteresis curve made with ListPlot
Added raw data.
Nov
26
awarded  Student
Nov
26
comment Analytically finding critical values in a hysteresis curve made with ListPlot
@VLC I considered it but this data does not represent a "function" as it is multi-valued.
Nov
26
asked Analytically finding critical values in a hysteresis curve made with ListPlot