Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

extract/lib/proc_misc.c File Reference

Misc. routines. More...

Go to the source code of this file.

Functions

int open_image (IMAGE2D *frame, char *name, char *mode, int class, char *type)
 Open a frame and check FCLASS.

int open_image_ext (IMAGE2D *signal, IMAGE2D *variance, char *name, char *mode, int class, char *type)
float read_mean_RoN (void *anyfile, Channel channel)
 Compute mean RoN from RDNOISE descriptors.

float read_jdate (void *anyfile)
 Read JDATE descriptor (defaulted to 0) from open file.

float check_jdate (char *arcname, float cal_jdate, char *objname, float obj_jdate)
 Check julian date consistency between two exposures.

void read_ima_axes (IMAGE2D *inframe, char xlab[], char ylab[])
 Read axes labels (LABX and LABY) from (reconstructed) image.


Detailed Description

Misc. routines.

Copyright:
(c) 2005 IPNL/CRAL-Observatoire de Lyon
Date:
Tue Jan 11 17:00:14 2005
Author:
Yannick Copin <y.copin@ipnl.in2p3.fr>

Author
ycopin
Version:
Revision
1.18
Id
proc_misc.c,v 1.18 2005/09/21 09:14:27 ycopin Exp

Definition in file proc_misc.c.


Function Documentation

int open_image IMAGE2D *  frame,
char *  name,
char *  mode,
int  class,
char *  type
 

Open a frame and check FCLASS.

Parameters:
frame Frame structure
name Name of the frame
mode I/O mode (same as open_frame)
class Required FCLASS
  • >0 for a known fclass
  • 0 if unknown (no check)
  • <0 to disable check explicitely
type The msg will be ("Opening %s frame",type)
Returns:
Error status

Definition at line 36 of file proc_misc.c.

Referenced by comp_calibration_offsets(), comp_specres(), main(), and open_image_ext().

int open_image_ext IMAGE2D *  signal,
IMAGE2D *  variance,
char *  name,
char *  mode,
int  class,
char *  type
 

Open a frame (possibly with extensions [signal] and [variance]) and check FCLASS

Parameters:
signal Frame structure with signal
variance Frame structure with variance (or NULL if not needed)
name Name of the frame
mode I/O mode (same as open_frame)
class Required FCLASS
  • >0 for a known fclass
  • 0 if unknown (no check)
  • <0 to disable check explicitely
type The msg will be ("Opening %s frame",type)
Returns:
Error status

Definition at line 88 of file proc_misc.c.

References open_image().

Referenced by main().

Here is the call graph for this function:

float read_mean_RoN void *  anyfile,
Channel  channel
 

Compute mean RoN from RDNOISE descriptors.

Definition at line 126 of file proc_misc.c.

References BLUE_CHANNEL, CCDB_RON, CCDR_RON, channel_names, and RDNOISE2.

Referenced by main().

float read_jdate void *  anyfile  ) 
 

Read JDATE descriptor (defaulted to 0) from open file.

Definition at line 155 of file proc_misc.c.

References JDATE.

Referenced by comp_calibration_offsets(), and main().

float check_jdate char *  arcname,
float  cal_jdate,
char *  objname,
float  obj_jdate
 

Check julian date consistency between two exposures.

Definition at line 180 of file proc_misc.c.

Referenced by main().

void read_ima_axes IMAGE2D *  inframe,
char  xlab[],
char  ylab[]
 

Read axes labels (LABX and LABY) from (reconstructed) image.

Definition at line 209 of file proc_misc.c.

Referenced by main().


Generated on Thu Oct 27 00:00:07 2005 for Snifs by doxygen 1.3.5