The dataset tiles can be organised as follows:-
A dataset is generally equivalent to a table within a traditional database with additional data ordering.
Datasets have a 1:1 mapping with with catalog data files and a catalog can have more than 1 dataset.
Data Structures | |
struct | lnc_object_class |
Typedefs | |
typedef lnc_dataset | lnc_dataset |
Catalog Dataset. | |
Enumerations | |
enum | lnc_ctype { CT_INT, CT_DOUBLE, CT_FLOAT, CT_STRING, CT_SIGN, CT_DOUBLE_HMS_HRS, CT_DOUBLE_HMS_MINS, CT_DOUBLE_HMS_SECS, CT_DOUBLE_DMS_DEGS, CT_DOUBLE_DMS_MINS, CT_DOUBLE_DMS_SECS, CT_DOUBLE_MPC, CT_NULL } |
Functions | |
lnc_dataset * | lnc_dset_create (lnc_catalog *cat, char *dset_name) |
Create a new dataset. | |
int | lnc_dset_init (lnc_dataset *dset, lnc_progress progress, int ra, int dec, int mag, unsigned int flags) |
Initialise new dataset. | |
void | lnc_dset_free (lnc_dataset *dset) |
Free's dataset and it's resources. | |
int | lnc_dset_add_custom_field (lnc_dataset *dset, char *field) |
Add a custom field to the dataset for importing. | |
int | lnc_dset_set_alt_index (lnc_dataset *dset, char *field, char *alt, int flags) |
Set an alternative field if another field is blank. | |
void | lnc_dset_clip_posn (lnc_dataset *dset, double min_ra, double min_dec, double max_ra, double max_dec, double faint_mag, double bright_mag) |
Set dataset clipping area based on position. | |
void | lnc_dset_clip_dist (lnc_dataset *dset, double min_AU, double max_AU) |
Set dataset clipping area based on distance. | |
void | lnc_dset_unclip (lnc_dataset *dset) |
Unclip dataset clipping area to full boundaries. | |
int | lnc_dset_get_objects (lnc_dataset *dset, lnc_progress progress, lnc_slist **result, unsigned int flags) |
Get objects from catalog based on clipping area. | |
void | lnc_dset_put_objects (lnc_slist *results) |
Release slist memory from lnc_dset_get_objects(). | |
int | lnc_dset_prune (lnc_dataset *dset) |
free all old sectors. | |
int | lnc_dset_get_size (lnc_dataset *dset) |
Get dataset cache size. | |
int | lnc_dset_get_object_size (lnc_dataset *dset) |
Get dataset object size. | |
void | lnc_dset_set_status_posn (lnc_dataset *dset, double min_ra, double min_dec, double max_ra, double max_dec, double faint_mag, double bright_mag, unsigned int status) |
set sector status based upon area | |
void | lnc_dset_set_status_dist (lnc_dataset *dset, double min_AU, double max_AU, unsigned int status) |
set sector status based upon area | |
lnc_tile_status | lnc_dset_get_status_posn (lnc_dataset *dset, double ra, double dec, double mag) |
get sector status | |
lnc_tile_status | lnc_dset_get_status_dist (lnc_dataset *dset, double AU) |
get sector status | |
lnc_ctype | lnc_dset_get_field_type (lnc_dataset *dset, char *field) |
Get field type in struct. | |
int | lnc_dset_get_field_offset (lnc_dataset *dset, char *field) |
Get field offset in struct. | |
int | lnc_dset_for_results_do (lnc_slist *res, void(*func)(void *object, void *data), void *data) |
Do func for every object in result. |
|
Catalog Dataset. The dataset container holds the tile array and it's dimensions. |
|
C type of ASCII dataset field |
|
Add a custom field to the dataset for importing.
|
|
Set dataset clipping area based on distance.
|
|
Set dataset clipping area based on position.
|
|
Create a new dataset.
|
|
Do func for every object in result.
|
|
Free's dataset and it's resources.
|
|
Get field offset in struct.
|
|
Get field type in struct.
|
|
Get dataset object size.
|
|
Get objects from catalog based on clipping area. int lnc_dset_get_objects (lnc_dataset* dset, lnc_progress progress, lnc_slist **result, unsigned int flags)
|
|
Get dataset cache size.
|
|
get sector status
|
|
get sector status
|
|
Initialise new dataset.
|
|
free all old sectors.
|
|
Release slist memory from lnc_dset_get_objects().
|
|
Set an alternative field if another field is blank.
|
|
set sector status based upon area
|
|
set sector status based upon area
|
|
Unclip dataset clipping area to full boundaries.
|