Package gavo :: Package protocols :: Module products :: Class CutoutProduct
[frames] | no frames]

Class CutoutProduct

source code

 object --+    
          |    
ProductBase --+
              |
             CutoutProduct

A class representing cutouts from FITS files.

This only works for local FITS files with two axes. For everything else, use datalink.

We assume the cutouts are smallish -- they are, right now, not streamed, but accumulated in memory.

Instance Methods
 
__str__(self)
str(x)
source code
 
iterData(self) source code
 
renderHTTP(self, ctx) source code
 
makePreview(self) source code

Inherited from ProductBase: __eq__, __init__, __ne__, __providedBy__, __provides__, __repr__, close, read

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods
 
fromRAccref(cls, rAccref, authGroups=None) source code

Inherited from ProductBase: setupRealFile

Class Variables

Inherited from ProductBase: __implemented__, chunkSize

Properties

Inherited from object: __class__

Method Details

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

fromRAccref(cls, rAccref, authGroups=None)
Class Method

source code 
Overrides: ProductBase.fromRAccref

iterData(self)

source code 
Overrides: ProductBase.iterData

renderHTTP(self, ctx)

source code 
Overrides: ProductBase.renderHTTP