ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 08 Aug 2014 15:04:49 -0500Spectral density of a signalhttp://ask.sagemath.org/question/9148/spectral-density-of-a-signal/ Hello!
Could somebody please help me find a way to build the spectral density function for a given signal in Sage?
Thank you!v_2eTue, 17 Jul 2012 02:48:47 -0500http://ask.sagemath.org/question/9148/TimeSeries & cython: why cimport yellow?http://ask.sagemath.org/question/23725/timeseries-cython-why-cimport-yellow/ I get the following information from cython:
![Raw output](/path/img.jpg "C:\Users\Gebruiker\Pictures\TimeSeries cython.jpg")
6: from sage.finance.time_series cimport TimeSeries
7:
8: cpdef csnelregres(self,int periode):
9: cdef int aantal=len(self)-periode
10:
11: cpdef a = TimeSeries(aantal)
I wasn't expecting a yellow color for cpdef a = TimeSeries(aantal).
Any suggestions?
RolandbFri, 08 Aug 2014 15:04:49 -0500http://ask.sagemath.org/question/23725/Multiple time-series(MS excel line graph) style plotshttp://ask.sagemath.org/question/8748/multiple-time-seriesms-excel-line-graph-style-plots/Hello you wise sages,
I have several lists of 1 dimensional data which I would like to plot on one set of axes, in a time series format.
More info:
I can plot one set this way:
1dlist = [34,52,65]
t = finance.TimeSeries(1dlist)
t.plot()
So if I had 2 lists, 1dlistA and 1dlistB, how would I overlay plots of them both?I. NoobtonMon, 27 Feb 2012 08:48:20 -0600http://ask.sagemath.org/question/8748/inter-mixing Sage and Rhttp://ask.sagemath.org/question/8229/inter-mixing-sage-and-r/Updated: How well is compatibility with intermixing Sage code and R code?
For instance, if I want to do:
f = r.read.table("bar.txt", row.names = NULL, header=T, sep=";")
calling some sage function and prints some output
but it didn't work as Sage can't find the corresponding R "table" method.
But I do %r and just use "read.table(...)", it works flawlessly. But I can't use the pass the R timeseries to Sage list.
Is there a better way around this?
tedThu, 14 Jul 2011 11:51:21 -0500http://ask.sagemath.org/question/8229/