phoebe_data

phoebe_data

Synopsis

extern              PHOEBE_passband **PHOEBE_passbands;
extern              int               PHOEBE_passbands_no;
PHOEBE_passband*    phoebe_passband_new                 ();
PHOEBE_passband*    phoebe_passband_new_from_file       (char *filename);
PHOEBE_passband*    phoebe_passband_lookup              (const char *name);
PHOEBE_passband*    phoebe_passband_lookup_by_id        (const char *id);
int                 phoebe_passband_free                (PHOEBE_passband *passband);
int                 phoebe_read_in_passbands            (char *dir_name);
int                 phoebe_free_passbands               ();
int                 wd_passband_id_lookup               (int *id,
                                                         const char *passband);

Description

Details

PHOEBE_passbands

extern PHOEBE_passband **PHOEBE_passbands;


PHOEBE_passbands_no

extern int               PHOEBE_passbands_no;


phoebe_passband_new ()

PHOEBE_passband*    phoebe_passband_new                 ();

Returns :


phoebe_passband_new_from_file ()

PHOEBE_passband*    phoebe_passband_new_from_file       (char *filename);

filename :

Returns :


phoebe_passband_lookup ()

PHOEBE_passband*    phoebe_passband_lookup              (const char *name);

name :

Returns :


phoebe_passband_lookup_by_id ()

PHOEBE_passband*    phoebe_passband_lookup_by_id        (const char *id);

Looks up the passband that corresponds to the curve ID. If the lookup fails, NULL is returned.

id :

curve ID (light or RV curve)

Returns :

pointer to PHOEBE_passband.

phoebe_passband_free ()

int                 phoebe_passband_free                (PHOEBE_passband *passband);

passband :

Returns :


phoebe_read_in_passbands ()

int                 phoebe_read_in_passbands            (char *dir_name);

dir_name :

Returns :


phoebe_free_passbands ()

int                 phoebe_free_passbands               ();

Returns :


wd_passband_id_lookup ()

int                 wd_passband_id_lookup               (int *id,
                                                         const char *passband);

Looks up the WD ID of the passband. If the passband is not set or if it is not supported by WD, ERROR_PASSBAND_INVALID is returned.

id :

WD passband ID

passband :

PHOEBE passband name

Returns :

PHOEBE_error_code.