|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.catalog.io.CatalogReader | +--net.aerith.misao.catalog.io.TicReader
The TicReader
is a class to read the Tycho Input
Catalogue.
The (x,y) position is also set properly so that (0,0) represents the specified R.A. and Decl. to open method and (1,1) represents the position 1 deg to the west and 1 deg to the north.
Field Summary | |
protected CircumArea |
circum_area
The circum area to read stars. |
protected long |
current_block_index
The index of the current block. |
protected int |
current_file_index
The index of current file (0-3). |
protected int |
current_file_index_in_list
The index of current file in file_list . |
protected java.io.BufferedReader |
current_reader
The current_input stream reader. |
protected long |
current_star_index
The index of the star in the current block. |
protected static int[][] |
decl_end
The largest Decl. |
protected static int[][] |
decl_start
The smallest Decl. |
protected static int[] |
file_block_count
The number of blocks of each files. |
protected static double[] |
file_decl_end
The end declinations of each files. |
protected static double[] |
file_decl_start
The start declinations of each files. |
protected java.util.Vector |
file_list
The list of file index to be read. |
protected static int |
file_N
The number of files. |
protected static java.lang.String[] |
filenames
The file names. |
protected static int[][] |
ra_end
The largest R.A. |
protected static int[][] |
ra_start
The smallest R.A. |
Fields inherited from class net.aerith.misao.catalog.io.CatalogReader |
center_coor,
date,
limiting_mag,
url_set |
Constructor Summary | |
TicReader()
Constructs an empty TicReader . |
|
TicReader(java.net.URL url)
Constructs a TicReader with URL of directory
containing the AC 2000.2 Catalogue. |
Method Summary | |
(package private) static void |
Sets the R.A. |
void |
close()
Closes a catalog. |
java.lang.String |
getHelpMessage()
Gets the help message. |
double |
getMaximumPositionErrorInArcsec()
Gets the maximum error of position in arcsec. |
java.lang.String |
getName()
Gets the catalog name. |
private static void |
initialize_Tic1()
Initializes the R.A. |
private static void |
initialize_Tic2()
Initializes the R.A. |
private static void |
initialize_Tic3()
Initializes the R.A. |
private static void |
initialize_Tic4()
Initializes the R.A. |
boolean |
isInDirectory()
Checks if the catalog data is in a directory. |
void |
open(Coor coor,
double fov)
Opens a catalog. |
CatalogStar |
readNext()
Reads one data from the opened catalog. |
boolean |
supportsExamination()
Checks if the catalog supports the use in PIXY examination. |
Methods inherited from class net.aerith.misao.catalog.io.CatalogReader |
addURL,
getDateLimit,
getDateLimitMessage,
getFovLimit,
getFovLimitMessage,
hasDateLimit,
hasFovLimit,
isDateDependent,
isFile,
open,
read,
setDate,
setDefaultURL,
setLimitingMagnitude |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
Field Detail |
protected static final int file_N
protected static final java.lang.String[] filenames
protected static final double[] file_decl_start
protected static final double[] file_decl_end
protected static final int[] file_block_count
protected static int[][] ra_start
protected static int[][] ra_end
protected static int[][] decl_start
protected static int[][] decl_end
protected java.io.BufferedReader current_reader
protected int current_file_index_in_list
file_list
.protected int current_file_index
protected long current_block_index
protected long current_star_index
protected CircumArea circum_area
protected java.util.Vector file_list
Constructor Detail |
public TicReader()
TicReader
.public TicReader(java.net.URL url)
TicReader
with URL of directory
containing the AC 2000.2 Catalogue.url
- the URL of directory containing CD-ROMs data.Method Detail |
public java.lang.String getName()
public boolean isInDirectory()
public boolean supportsExamination()
public double getMaximumPositionErrorInArcsec()
public java.lang.String getHelpMessage()
public void open(Coor coor, double fov) throws java.io.IOException, java.io.FileNotFoundException, CdromNotFoundException
coor
- the R.A. and Decl. of the center.fov
- the field of view to read in degree.public CatalogStar readNext() throws java.io.IOException, java.io.FileNotFoundException, CdromNotFoundException, QueryFailException
public void close() throws java.io.IOException
private static void initialize_Tic1()
private static void initialize_Tic2()
private static void initialize_Tic3()
private static void initialize_Tic4()
static void()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |