|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectij.plugin.FITS_Writer
public class FITS_Writer
This plugin saves a 16 or 32 bit image in FITS format. It is a stripped-down version of the SaveAs_FITS plugin from the collection of astronomical image processing plugins by Jennifer West at http://www.umanitoba.ca/faculties/science/astronomy/jwest/plugins.html
| Constructor Summary | |
|---|---|
FITS_Writer()
|
|
| Method Summary | |
|---|---|
(package private) void |
appendFile(char[] line,
java.lang.String path)
Appends 'line' to the end of the file specified by 'path'. |
(package private) void |
createHeader(java.lang.String path,
ImageProcessor ip,
int numBytes)
|
void |
run(java.lang.String path)
This method is called when the plugin is loaded. |
(package private) void |
s2ch(java.lang.String str,
char[] ch,
int offset)
Converts a String to a char[] |
(package private) char[] |
writeCard(java.lang.String title,
java.lang.String value,
java.lang.String comment)
Writes one line of a FITS header |
(package private) void |
writeData(java.lang.String path,
ImageProcessor ip)
Appends the data of the current image to the end of the file specified by path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FITS_Writer()
| Method Detail |
|---|
public void run(java.lang.String path)
PlugIn
run in interface PlugIn
void createHeader(java.lang.String path,
ImageProcessor ip,
int numBytes)
char[] writeCard(java.lang.String title,
java.lang.String value,
java.lang.String comment)
void s2ch(java.lang.String str,
char[] ch,
int offset)
void appendFile(char[] line,
java.lang.String path)
void writeData(java.lang.String path,
ImageProcessor ip)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||