nenupytf.stokes.specdata
SpecData¶
Test de docstring
-
class
nenupytf.stokes.specdata.
SpecData
(data, time, freq, **kwargs)[source]¶ Bases:
object
A class to handle dynamic spectrum data
-
amp
¶ Linear amplitude of the data
-
data
¶
-
db
¶ Convert the amplitude in decibels
-
filter
(kernel=7)[source]¶ Remove the spikes
Parameters: kernel (array_like) – A scalar or an N-length list giving the size of the median filter window in each dimension. Elements of kernel_size should be odd. If kernel_size is a scalar, then this scalar is used as the size in each dimension. Default size is 3 for each dimension.
-
fmean
(freq1=None, freq2=None, method='mean')[source]¶ Average over the frequency.
Parameters: Returns: averaged_data – A new
SpecData
instance containging the averaged quantities.Return type:
-
jd
¶ Return JD dates
-
mjd
¶ Return MJD dates
-
time
¶
-