Image

Defines the Image_BDP class.

class admit.bdp.Image_BDP.Image_BDP(xmlFile=None, **keyval)

Image Basic Data Product

Image base class for use in BDP’s. BDP’s that contain images should inherit from this class. In the instance where more than one image is needed then the class should instantiate instances of the Image class directly.

Methods

delete([delfiles]) Method to delete the BDP.
depends_on_(other) deprecated
get(key) access an attribute
getfiles() return the filename(s) associated with the basic data in a BDP.
getimage(imtype)
getimagefile(imtype)
haskey(key) Query if a key exists for an AT.
isequal(bdp)
report() report some properties, human readable.
setkey([name, key, init]) set keys, two styles are possible:
show() for now, show the xmlFile name
update(new_state)
write([xmlFile]) Method to write the BDP to an xml file
getimage(imtype)
getimagefile(imtype)

This Page