Re: How does one get data out of a TemporalData object?
- To: mathgroup at smc.vnet.net
- Subject: [mg131181] Re: How does one get data out of a TemporalData object?
- From: Andy Ross <andyr at wolfram.com>
- Date: Sun, 16 Jun 2013 05:16:15 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <20130615082528.D46F866F8@smc.vnet.net>
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. 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 >
- References:
- How does one get data out of a TemporalData object?
- From: Joe Gwinn <joegwinn@comcast.net>
- How does one get data out of a TemporalData object?