ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 08 Aug 2014 22:04:49 +0200Spectral density of a signalhttps://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 09:48:47 +0200https://ask.sagemath.org/question/9148/TimeSeries & cython: why cimport yellow?https://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 22:04:49 +0200https://ask.sagemath.org/question/23725/Multiple time-series(MS excel line graph) style plotshttps://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 15:48:20 +0100https://ask.sagemath.org/question/8748/inter-mixing Sage and Rhttps://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 18:51:21 +0200https://ask.sagemath.org/question/8229/