Raster Set
class fisspy.image.raster_set.makeRasterSet(flistA, flistB, wvset=None, ii=None, show=True, **kwargs)
Description: Make raster image set.Parameters
- flistA (list) - list of the cam A file (one among proc, comp data).
- flistB (list) - list of the cam B file (one among proc, comp data).
- wvset (numpy.ndarray, optional) - 1D array for relative wavelength set to draw raster image. Default is [-4,-0.7,-0.5,-0.2,0,0.2,0.5,0.7].
- ii (int, optional) - Time index to show initially. Default is 0.
- show (bool, optional) - Show plot. Default is True. Please set this value to False to save the image or animation.
- **kwargs - fisspy.read.FISS.
Returns
- Make raster set object
Examples
Make raster set
ViewAttributes Summary
Attributes | Description |
---|---|
nwv | The number of the wavelength of the raster set. |
nf | The number of frames. |
stT | Image start time (astropy.time.Time object). |
edT | Image end time (astropy.time.Time object) |
Methods Summary
Methods | Description |
---|---|
chData(i) | Change data shown in figure. |
saveImage(fname, i=None, dpi=100) | Save image for given frame i. |
saveAllImages(fname, i=None, dpi=100) | Save all images. |
animation(interval=100) | Make animation and show. |
saveAnimation(dirn, interval=100) | Save animation. |
makeCatalogFiles(dirn, interval=100, incdata=True) | Make JSON file for the data catalog. |
Methods Documentation
chData(i)
Change data shown in figure.Parameters
- i - (int) Frame number.
Returns
- None
saveImage(fname, i=None, dpi=100)
Save image for given frame i.Parameters
- fname - (str) Save filename.
- i - (int, optional) Frame number. If None, save current frame. Default is None.
- dpi - (int, optional) Dots per inch. Default is 100.
Returns
- None
saveAllImages(dirn, dpi=100)
Save all images.Parameters
- dirn - (str) Save directory.
- dpi - (int, optional) Dots per inch. Default is 100.
Returns
- None
animation(interval=100)
Make animation and show.Parameters
- interval - (int, optional) Frame interval in unit of ms. Default is 100.
Returns
- None
saveAnimation(dirn, interval=100)
Save animation.Parameters
- dirn - (str) Directory to save the movie file.
- interval - (int, optional) Frame interval in unit of ms. Default is 100.
Returns
- None
makeCatalogFiles(dirn, interval=100, incdata=True)
Make JSON file for the data catalog.Parameters
- dirn - (str) Directory to save the files.
- interval - (int, optional) Frame interval in unit of ms. Default is 100.
- incdata - (bool, optional) If true, include data in the JSON file. Default is True.
Returns
- None