When I try to load a file:

gram$ python python.py

Traceback (most recent call last):

File “python.py”, line 21, in

cc1310_data_9952=np.fromfile(‘cc1310_data_9952’, dtype=np.complex64)

MemoryError

When I try to load a file:

gram$ python python.py

Traceback (most recent call last):

File “python.py”, line 21, in

cc1310_data_9952=np.fromfile(‘cc1310_data_9952’, dtype=np.complex64)

MemoryError

Hi,

Is the python.py implemented by yourself?

Could you share the source code with us so we can check it in detail.

Thanks.

#!/usr/bin/env python3

from **future** import division

import numpy as np

import matplotlib.pyplot as plt

from matplotlib.ticker import EngFormatter

from scipy import signal #for spectogram

from scipy.signal import lfilter

import matplotlib.pyplot as plt

import numpy as np

import pylab as pl

s=25000

d=1

i=0

z=1977131572 #lenghth of the data

samplingFrequency=2e6

center_freq=1e6

cc1310_data_9952=np.fromfile(‘cc1310_data_9952’, dtype=np.complex64)

Is there an error on code ?

Hi,

It looks like numpy meet error when loading the cc1310_data_9952 data.

The most common case is running out of memory.

May I know the size of file ‘cc1310_data_9952’?

Thanks.