PVSlice_BDP — PVSlice_AT data (image).

This module defines the PVSlice_BDP class.

class admit.bdp.PVSlice_BDP.PVSlice_BDP(xmlFile=None, **keyval)[source]

PVSlice Basic Data Product

PVSlice taken from an Image cube.

Parameters:

xmlFile : string

Output XML file name.

keyval : dictionary

Dictionary of keyword value pairs.

Attributes

image (Image) An Image class to hold the PVSlice data.
line (string) String describing the line in the cube. Usually 4 numbers.
method (string) Method describing the line. Possible are ‘slice’ and ‘slit’.

Methods

addimage(image[, name]) Method to add an image to the class
baseDir([path]) Get/set project base directory.
delete([delfiles]) Method to delete the BDP.
get(key) Access an attribute.
getdir() Method to get the subdirectory(s) of the current BDP relative to the ADMIT working directory.
getfiles() Return the filename(s) associated with the basic data in a BDP.
getimage([imtype, name]) Method to get a specific image type from the class
getimagefile([imtype, name]) Method to get the requested image file name from the named instance
haskey(key) Query if a key exists for an BDP.
isequal(bdp) Tests for equality with another BDP.
report() Report BDP properties in human readable format.
setkey([name, key]) Sets keyword value(s).
show() Show the xmlFile name.
update(new_state) Updates BDP state.
write([xmlFile]) Writes the BDP to an XML file.