kenfus / radiospectra

BSD 2-Clause "Simplified" License
0 stars 2 forks source link

.extend() doesnt work any more #2

Closed ACsillaghy closed 5 years ago

ACsillaghy commented 5 years ago

the standard command from the doc does not work

just type:

more = image.extend()

Beckicious commented 5 years ago

The following code worked for me:

from radiospectra.sources import CallistoSpectrogram
image = CallistoSpectrogram.from_range('ALASKA', '2018-04-01 00:00:00', '2018-04-01 00:15:00')
image.peek()
more = image.extend()
more.peek()

Could you test if that code works for you? I've put it into a notebook.

ACsillaghy commented 5 years ago

mmm yes this worked. Does the standard work for you?

import matplotlib.pyplot as plt import sunpy.data.sample image = CallistoSpectrogram.read(sunpy.data.sample.CALLISTO_SPECTRUM) image.peek() more = image.extend() more.peek()

?