我收到以下代码的错误。有人可以告诉我哪里出错了吗?ps 我已经正确给出了.mrcfile 的路径
import numpy
import Mrc
a = Mrc.bindFile('somefile.mrc')
# a is a NumPy array with the image data memory mapped from
# somefile.mrc. You can use it directly with any function
# that will take a NumPy array.
hist = numpy.histogram(a, bins=200)
# a.Mrc is an instances of the Mrc class. One thing
# you can do with that class is print out key information from the header.
a.Mrc.info()
# Use a.Mrc.hdr to access the MRC header fields.
wavelength0_nm = a.Mrc.hdr.wave[0]
() 3 a = Mrc.bindFile('/home/smitha/deep-image-prior/data/Falcon_2015_05_14-20_42_18.mrc') 4 hist = numpy.histogram(a, bins= 200) ----> 5 a.Mrc.info() 6 波长0_nm = a.Mrc.hdr.wave[0] 7
AttributeError:“NoneType”对象没有属性“Mrc”