In article <email@example.com>, Andy Ross <firstname.lastname@example.org> wrote:
> TemporalData has a number of properties for extracting the parts you > need. To get the paths with time stamps use TemporalData[...]["Paths"]. > To get the states use TemporalData[...]["States"]. > > I recommend looking at the details section of the documentation for > TemporalData to see the full list of properties and read through the > examples on that page to see how each is used.
I had looked over the documentation, and nothing jumped out. I looked at every mention of TemporalData, and found nothing that seemed suitable.
But I didn't try States, so I just did. It yields a list of alternating 1 and 2 values, which isn't a complete answer to the problem, as the time values are missing. If one just uses Fourier, one will get some kind of Periodogram, which is not what is sought.
I get a different answer, and other paths yield yet other answers.
What I'm looking for is for instance a function that can be called from Table to yield a list of equispaced samples suitable for Fourier. The locations and interval between samples may vary as needed to keep Fourier happy - list length will be an exact power of two, and there may be zero padding added.
> Andy Ross > Wolfram Research > > On 6/15/2013 3:25 AM, Joe Gwinn wrote: > > I would like to generate some random signals for use in exploring > > signal-processing algorithms. > > > > For use as synthetic signals for the algorithm to chew upon, I'd like > > to use ContinuousMarkovProcess and TelegraphProcess with > > RandomFunction. With these, I can do statistics and plot things > > freely. > > > > What I cannot quite get is a time series ready for such indignities as > > Fourier. > > > > Now I can manually disassemble the data structure, but I don't find a > > list of equispaced samples, I get a transition list, which is not the > > same thing. > > > > Interpolation[Normal[temporal data object] // First, InterpolationOrder > > -> 0] almost works, but the fine details are smeared over, even though > > InterpolationOrder -> 0 works in ListLinePlot et al without apparent > > smearing. > > > > What am I missing? It seems like Probability and Statistics has become > > a walled city within Mathematica. I'm hoping to find a door in the wall, > > rather than be forced to build by own little city one brick at a time. > > > > Joe Gwinn > > > >