Common Pipeline Library Reference Manual  7.1.2
Deprecated List
Member cpl_apertures_get_fwhm (const cpl_image *self, const cpl_apertures *aperts)
Replace this call with a loop over cpl_image_get_fwhm()
Member cpl_apertures_get_max_x (const cpl_apertures *self, cpl_size ind)
Replace this function with cpl_apertures_get_pos_x()
Member cpl_apertures_get_max_y (const cpl_apertures *self, cpl_size ind)
Replace this function with cpl_apertures_get_pos_y()
Member CPL_BPP_16_SIGNED
Use CPL_TYPE_SHORT
Member CPL_BPP_16_UNSIGNED
Use CPL_TYPE_USHORT
Member CPL_BPP_32_SIGNED
Use CPL_TYPE_INT
Member CPL_BPP_8_UNSIGNED
Use CPL_TYPE_UCHAR
Member CPL_BPP_IEEE_DOUBLE
Use CPL_TYPE_DOUBLE
Member CPL_BPP_IEEE_FLOAT
Use CPL_TYPE_FLOAT
Member cpl_fits_get_extension_nb (const char *filename, const char *extname)
Replace this call with cpl_fits_find_extension().
Member cpl_fits_get_nb_extensions (const char *filename)
Replace this call with cpl_fits_count_extensions().
Member cpl_frameset_get_first (cpl_frameset *self)
This function will be removed from CPL version 7. Code using these functions should be ported to make use of frame set iterators instead!
Member cpl_frameset_get_first_const (const cpl_frameset *self)
This function will be removed from CPL version 7. Code using these functions should be ported to make use of frame set iterators instead!
Member cpl_frameset_get_frame (cpl_frameset *set, cpl_size position)
This function will be removed from CPL version 7. Code using these functions should use cpl_frameset_get_position() instead!
Member cpl_frameset_get_frame_const (const cpl_frameset *set, cpl_size position)
This function will be removed from CPL version 7. Code using these functions should use cpl_frameset_get_position_const() instead!
Member cpl_frameset_get_next (cpl_frameset *self)
This function will be removed from CPL version 7. Code using these functions should be ported to make use of frame set iterators instead!
Member cpl_frameset_get_next_const (const cpl_frameset *self)
This function will be removed from CPL version 7. Code using these functions should be ported to make use of frame set iterators instead!
Member cpl_image_filter_linear (const cpl_image *in, const cpl_matrix *ker)
Replace this call with cpl_image_filter() using CPL_FILTER_LINEAR and CPL_BORDER_FILTER.
Member cpl_image_filter_median (const cpl_image *in, const cpl_matrix *ker)
Replace this call with cpl_image_filter_mask() using CPL_FILTER_MEDIAN and CPL_BORDER_FILTER.
Member cpl_image_filter_morpho (const cpl_image *in, const cpl_matrix *ker)
Replace this call with cpl_image_filter() using CPL_FILTER_MORPHO and CPL_BORDER_FILTER.
Member cpl_image_filter_stdev (const cpl_image *in, const cpl_matrix *ker)
Replace this call with cpl_image_filter_mask() using CPL_FILTER_STDEV and CPL_BORDER_FILTER.
Member cpl_image_fit_gaussian (const cpl_image *im, cpl_size xpos, cpl_size ypos, cpl_size size, double *norm, double *xcen, double *ycen, double *sig_x, double *sig_y, double *fwhm_x, double *fwhm_y)
If you need a 2D gaussian fit please use the function cpl_fit_image_gaussian(). Please note that on CPL versions earlier than 5.1.0 this function was wrongly documented: the parameters sig_x and sig_y were defined as "the sigma in x (or y) of the gaussian", while actually they returned the semi-major and semi-minor axes of the gaussian distribution at 1-sigma. PLEASE NOTE THAT IF YOU USED THIS FUNCTION FOR DETERMINING THE SPREAD OF A DISTRIBUTION ALONG THE X DIRECTION, THIS WAS VERY LIKELY OVERESTIMATED (because sig_x was always assigned the semi-major axis of the distribution ignoring the rotation), WHILE THE SPREAD ALONG THE Y DIRECTION WOULD BE UNDERESTIMATED. In addition to that, even with circular distributions this function may lead to an underestimation of sig_x and sig_y (up to 25% underestimation in the case of noiseless data with a box 4 times the sigma, 1% underestimation in the case of noiseless data with a box 7 times the sigma). This latter problem is related to the function cpl_image_iqe().
Member cpl_mask_closing (cpl_mask *in, const cpl_matrix *ker)
Replace this call with cpl_mask_filter() using CPL_FILTER_CLOSING and CPL_BORDER_ZERO.
Member cpl_mask_dilation (cpl_mask *in, const cpl_matrix *ker)
Replace this call with cpl_mask_filter() using CPL_FILTER_DILATION and CPL_BORDER_ZERO.
Member cpl_mask_erosion (cpl_mask *in, const cpl_matrix *ker)
Replace this call with cpl_mask_filter() using CPL_FILTER_EROSION and CPL_BORDER_ZERO.
Member cpl_mask_opening (cpl_mask *in, const cpl_matrix *ker)
Replace this call with cpl_mask_filter() using CPL_FILTER_OPENING and CPL_BORDER_ZERO.
Member cpl_msg_progress (const char *component, int i, int iter, const char *format,...)
Use standard calls such as cpl_msg_info() instead.
Member cpl_polynomial_fit_1d_create (const cpl_vector *x_pos, const cpl_vector *values, cpl_size degree, double *pmse)
Replace this call with cpl_polynomial_fit() and optionally cpl_vector_fill_polynomial_fit_residual().
Member cpl_polynomial_fit_2d_create (const cpl_bivector *xy_pos, const cpl_vector *values, cpl_size degree, double *pmse)
Replace this call with cpl_polynomial_fit() and optionally cpl_vector_fill_polynomial_fit_residual().
Member CPL_RECIPE_DEFINE (RECIPE_NAME, RECIPE_VERSION, RECIPE_FILL_PARAMS, RECIPE_AUTHOR, RECIPE_AUTHOR_EMAIL, RECIPE_YEAR, RECIPE_SYNOPSIS, RECIPE_DESCRIPTION)
Use cpl_recipe_define()
Member cpl_table_get_column_name (const cpl_table *table)
This function is deprecated, because its usage could create serious problems in case it is attempted to get names from different tables simultaneously. For instance, a programmer may call cpl_table_get_column_name() in a loop, and in the same loop call a CPL function that calls as well the same function. The behaviour in this case would be unpredictable. The function cpl_table_get_column_names() should be used instead.
Member cpl_test_memory_is_empty ()
Called by cpl_test_end()
Member cpl_type_bpp
Use cpl_type
Member cpl_vector_convolve_symmetric (cpl_vector *smoothed, const cpl_vector *conv_kernel)
Unstable API, may change or disappear. Do not use in new code!
Member cpl_vector_new_lss_kernel (double slitw, double fwhm)
Unstable API, may change or disappear. Do not use in new code!
cpl_propertylist_set_float
cpl_error_code cpl_propertylist_set_float(cpl_propertylist *self, const char *name, float value)
Set the value of the given float property list entry.
Definition: cpl_propertylist.c:2175
cpl_image_filter_stdev
cpl_image * cpl_image_filter_stdev(const cpl_image *in, const cpl_matrix *ker)
Standard deviation filter.
Definition: cpl_image_filter.c:1341
cpl_plugin_set_description
cpl_error_code cpl_plugin_set_description(cpl_plugin *self, const char *description)
Set the detailed description of a plugin.
Definition: cpl_plugin.c:890
cpl_matrix_fill_column
cpl_error_code cpl_matrix_fill_column(cpl_matrix *matrix, double value, cpl_size column)
Write the same value to a matrix column.
Definition: cpl_matrix.c:1308
cpl_table_fill_column_window_complex
cpl_error_code cpl_table_fill_column_window_complex(cpl_table *table, const char *name, cpl_size start, cpl_size count, double complex value)
Write a value to a complex column segment.
Definition: cpl_table.c:6558
cpl_image_move
cpl_error_code cpl_image_move(cpl_image *im, cpl_size nb_cut, const cpl_size *new_pos)
Reorganize the pixels in an image.
Definition: cpl_image_basic.c:3006
cpl_property_get_comment
const char * cpl_property_get_comment(const cpl_property *self)
Get the property comment.
Definition: cpl_property.c:1758
cpl_table_get_data_int
int * cpl_table_get_data_int(cpl_table *table, const char *name)
Get a pointer to integer column data.
Definition: cpl_table.c:3440
CPL_FRAME_TYPE_PAF
Definition: cpl_frame.h:100
cpl_image_subtract_scalar
cpl_error_code cpl_image_subtract_scalar(cpl_image *self, double scalar)
Elementwise subtraction of a scalar from an image.
Definition: cpl_image_basic.c:1056
cpl_apertures_delete
void cpl_apertures_delete(cpl_apertures *self)
Destructor for cpl_apertures.
Definition: cpl_apertures.c:124
cpl_parameter_get_enum_size
int cpl_parameter_get_enum_size(const cpl_parameter *self)
Get the number of alternatives of an enumeration parameter.
Definition: cpl_parameter.c:2586
cpl_table_load
cpl_table * cpl_table_load(const char *filename, int xtnum, int check_nulls)
Load a FITS table extension into a new cpl_table.
Definition: cpl_table.c:22770
cpl_image_get_data_float_complex
float complex * cpl_image_get_data_float_complex(cpl_image *img)
Get the data as a float complex array.
Definition: cpl_image_io.c:1703
CPL_ERROR_ILLEGAL_INPUT
Definition: cpl_error.h:416
cpl_framedata_set_min_count
cpl_error_code cpl_framedata_set_min_count(cpl_framedata *self, cpl_size min_count)
Set the minimum number of frames.
Definition: cpl_framedata.c:448
cpl_errorstate_dump_one_info
void cpl_errorstate_dump_one_info(unsigned self, unsigned first, unsigned last)
Dump a single CPL error using cpl_msg_info()
Definition: cpl_errorstate.c:447
cpl_table_fill_column_window_long_long
cpl_error_code cpl_table_fill_column_window_long_long(cpl_table *table, const char *name, cpl_size start, cpl_size count, long long value)
Write a value to an long long column segment.
Definition: cpl_table.c:6775
cpl_image_accept
cpl_error_code cpl_image_accept(cpl_image *im, cpl_size x, cpl_size y)
Set a pixel as good in an image.
Definition: cpl_image_bpm.c:297
cpl_table_get_column_minpos
cpl_error_code cpl_table_get_column_minpos(const cpl_table *table, const char *name, cpl_size *row)
Get position of minimum in a numerical column.
Definition: cpl_table.c:9980
cpl_apertures_get_top
cpl_size cpl_apertures_get_top(const cpl_apertures *self, cpl_size ind)
Get the topmost y position in an aperture.
Definition: cpl_apertures.c:675
cpl_stats_get_min
double cpl_stats_get_min(const cpl_stats *in)
Get the minimum from a cpl_stats object.
Definition: cpl_stats.c:118
_cpl_plugin_::api
unsigned int api
The API version the Plugin complies to.
Definition: cpl_plugin.h:119
cpl_vector_read
cpl_vector * cpl_vector_read(const char *filename)
Read a list of values from an ASCII file and create a cpl_vector.
Definition: cpl_vector.c:281
CPL_FFT_FIND_MEASURE
Definition: cpl_fft.h:63
cpl_parameter_set_string
cpl_error_code cpl_parameter_set_string(cpl_parameter *self, const char *value)
Assign a string value to a parameter.
Definition: cpl_parameter.c:1619
cpl_parameter_get_int
int cpl_parameter_get_int(const cpl_parameter *self)
Get the value of the given integer parameter.
Definition: cpl_parameter.c:2179
cpl_propertylist_load_regexp
cpl_propertylist * cpl_propertylist_load_regexp(const char *name, cpl_size position, const char *regexp, int invert)
Create a filtered property list from a file.
Definition: cpl_propertylist.c:7540
cpl_array_get_data_cplsize
cpl_size * cpl_array_get_data_cplsize(cpl_array *array)
Get a pointer to cpl_size array data.
Definition: cpl_array.c:1437
cpl_framedata_delete
void cpl_framedata_delete(cpl_framedata *self)
Delete a frame data object.
Definition: cpl_framedata.c:220
cpl_stats_mode
enum _cpl_stats_mode_ cpl_stats_mode
The CPL stats mode. It is a bit field.
Definition: cpl_stats.h:132
cpl_array_fill_window_cplsize
cpl_error_code cpl_array_fill_window_cplsize(cpl_array *array, cpl_size start, cpl_size count, cpl_size value)
Write the same value within a cpl_size array segment.
Definition: cpl_array.c:3053
cpl_array_set_size
cpl_error_code cpl_array_set_size(cpl_array *array, cpl_size new_length)
Resize an array.
Definition: cpl_array.c:1022
CPL_PARAMETER_MODE_CLI
Definition: cpl_parameter.h:48
CPL_TYPE_DOUBLE
Definition: cpl_type.h:133
cpl_wlcalib_find_best_1d
cpl_error_code cpl_wlcalib_find_best_1d(cpl_polynomial *self, const cpl_polynomial *guess, const cpl_vector *spectrum, void *model, cpl_error_code(*filler)(cpl_vector *, void *, const cpl_polynomial *), const cpl_vector *wl_search, cpl_size nsamples, cpl_size hsize, double *xcmax, cpl_vector *xcorrs)
Find the best 1D dispersion polynomial in a given search space.
Definition: cpl_wlcalib.c:844
cpl_array_dump_structure
void cpl_array_dump_structure(const cpl_array *array, FILE *stream)
Describe the structure and the contents of an array.
Definition: cpl_array.c:5235
cpl_matrix_transpose_create
cpl_matrix * cpl_matrix_transpose_create(const cpl_matrix *matrix)
Create transposed matrix.
Definition: cpl_matrix.c:2401
cpl_plot_bivector
cpl_error_code cpl_plot_bivector(const char *pre, const char *options, const char *post, const cpl_bivector *bivector)
Plot a bivector.
Definition: cpl_plot.c:204
cpl_recipeconfig_set_tag
int cpl_recipeconfig_set_tag(cpl_recipeconfig *self, const char *tag, cpl_size min_count, cpl_size max_count)
Set a configuration tag.
Definition: cpl_recipeconfig.c:549
cpl_frameset_insert
cpl_error_code cpl_frameset_insert(cpl_frameset *self, cpl_frame *frame)
Insert a frame into the given frame set.
Definition: cpl_frameset.c:1080
cpl_regex_apply
int cpl_regex_apply(const cpl_regex *self, const char *string)
Compare a regular expression with a given character string.
Definition: cpl_multiframe.c:190
cpl_array_wrap_int
cpl_array * cpl_array_wrap_int(int *data, cpl_size length)
Create a new integer array from existing data.
Definition: cpl_array.c:204
cpl_frameset_get_position
cpl_frame * cpl_frameset_get_position(cpl_frameset *self, cpl_size position)
Get the frame at a given position in the frame set.
Definition: cpl_frameset.c:1770
cpl_propertylist_insert_long
cpl_error_code cpl_propertylist_insert_long(cpl_propertylist *self, const char *here, const char *name, long value)
Insert a long value into a property list at the given position.
Definition: cpl_propertylist.c:3733
_cpl_recipe_::interface
cpl_plugin interface
Generic plugin interface.
Definition: cpl_recipe.h:77
cpl_imagelist_normalise
cpl_error_code cpl_imagelist_normalise(cpl_imagelist *imlist, cpl_norm mode)
Normalize each image in the list.
Definition: cpl_imagelist_basic.c:461
cpl_table_and_selected_window
cpl_size cpl_table_and_selected_window(cpl_table *table, cpl_size start, cpl_size count)
Select from selected rows only those within a table segment.
Definition: cpl_table.c:14459
cpl_propertylist_update_int
cpl_error_code cpl_propertylist_update_int(cpl_propertylist *self, const char *name, int value)
Update a property list with a integer value.
Definition: cpl_propertylist.c:6269
cpl_table_get_data_float_const
const float * cpl_table_get_data_float_const(const cpl_table *table, const char *name)
Get a pointer to constant float column data.
Definition: cpl_table.c:3861
cpl_table_set_int
cpl_error_code cpl_table_set_int(cpl_table *table, const char *name, cpl_size row, int value)
Write a value to an integer table column element.
Definition: cpl_table.c:5870
cpl_propertylist_insert_after_char
cpl_error_code cpl_propertylist_insert_after_char(cpl_propertylist *self, const char *after, const char *name, char value)
Insert a character value into a property list after the given position.
Definition: cpl_propertylist.c:4148
cpl_frameset_get_next
cpl_frame * cpl_frameset_get_next(cpl_frameset *self)
Get the next frame in the given set.
Definition: cpl_frameset.c:1023
CPL_FILTER_CLOSING
Definition: cpl_filter.h:133
cpl_fft_imagelist
cpl_error_code cpl_fft_imagelist(cpl_imagelist *self, const cpl_imagelist *other, cpl_fft_mode mode)
Perform a FFT operation on the images in an imagelist.
Definition: cpl_fft.c:115
cpl_array_subtract
cpl_error_code cpl_array_subtract(cpl_array *to_array, const cpl_array *from_array)
Subtract the values of two numeric or complex arrays.
Definition: cpl_array.c:3788
CPL_MATH_2PI
#define CPL_MATH_2PI
2 pi
Definition: cpl_math_const.h:106
CPL_TYPE_UNSPECIFIED
Definition: cpl_type.h:151
cpl_table_get_data_long_const
const long * cpl_table_get_data_long_const(const cpl_table *table, const char *name)
Get a pointer to constant long column data.
Definition: cpl_table.c:3617
cpl_regex_syntax_option
enum _cpl_regex_syntax_option_ cpl_regex_syntax_option
Regular expression syntax options.
Definition: cpl_multiframe.h:80
cpl_mask_xor
cpl_error_code cpl_mask_xor(cpl_mask *in1, const cpl_mask *in2)
Performs a logical XOR of one mask onto another.
Definition: cpl_mask.c:1276
cpl_fits_get_extension_nb
int cpl_fits_get_extension_nb(const char *filename, const char *extname)
Get the place of a given extension in a FITS file.
Definition: cpl_fits.c:298
cpl_matrix_get_determinant
double cpl_matrix_get_determinant(const cpl_matrix *matrix)
Compute the determinant of a matrix.
Definition: cpl_matrix.c:4467
cpl_type
enum _cpl_type_ cpl_type
The type code type.
Definition: cpl_type.h:186
cpl_image_warp
cpl_error_code cpl_image_warp(cpl_image *out, const cpl_image *in, const cpl_image *deltax, const cpl_image *deltay, const cpl_vector *xprofile, double xradius, const cpl_vector *yprofile, double yradius)
Warp an image.
Definition: cpl_image_resample.c:172
CPL_ERROR_CONTINUE
Definition: cpl_error.h:430
cpl_parameter_set_default_bool
cpl_error_code cpl_parameter_set_default_bool(cpl_parameter *self, int value)
Modify the default value of a boolean parameter.
Definition: cpl_parameter.c:1680
cpl_error_get_code
cpl_error_code cpl_error_get_code(void)
Get the last cpl_error_code set.
Definition: cpl_error.c:408
cpl_propertylist_get_double_complex
double complex cpl_propertylist_get_double_complex(const cpl_propertylist *self, const char *name)
Get the double complex value of the given property list entry.
Definition: cpl_propertylist.c:3467
cpl_frameset_iterator_get_const
const cpl_frame * cpl_frameset_iterator_get_const(const cpl_frameset_iterator *self)
Get the frame from the frame set at the current position of the iterator.
Definition: cpl_frameset.c:2586
cpl_errorstate_dump_one_debug
void cpl_errorstate_dump_one_debug(unsigned self, unsigned first, unsigned last)
Dump a single CPL error using cpl_msg_debug()
Definition: cpl_errorstate.c:464
cpl_array_insert
cpl_error_code cpl_array_insert(cpl_array *target_array, const cpl_array *insert_array, cpl_size start)
Merge two arrays.
Definition: cpl_array.c:3680
cpl_image_get_data_double_complex
double complex * cpl_image_get_data_double_complex(cpl_image *img)
Get the data as a double complex array.
Definition: cpl_image_io.c:1687
cpl_image_get_centroid_x_window
double cpl_image_get_centroid_x_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Computes the x centroid value over an image sub-window.
Definition: cpl_image_stats.c:461
CPL_STATS_CENTROID
Definition: cpl_stats.h:107
cpl_plugin_set_deinit
cpl_error_code cpl_plugin_set_deinit(cpl_plugin *self, cpl_plugin_func func)
Set the cleanup handler of a plugin.
Definition: cpl_plugin.c:1415
CPL_FRAME_GROUP_PRODUCT
Definition: cpl_frame.h:154
cpl_table_or_selected_long_long
cpl_size cpl_table_or_selected_long_long(cpl_table *table, const char *name, cpl_table_select_operator operator, long long value)
Select from unselected table rows, by comparing long long column values with a constant.
Definition: cpl_table.c:12406
cpl_msg_set_log_name
cpl_error_code cpl_msg_set_log_name(const char *name)
Set the log file name.
Definition: cpl_msg.c:1055
cpl_bivector_get_size
cpl_size cpl_bivector_get_size(const cpl_bivector *in)
Get the size of the cpl_bivector.
Definition: cpl_bivector.c:373
cpl_table_erase_selected
cpl_error_code cpl_table_erase_selected(cpl_table *table)
Delete the selected rows of a table.
Definition: cpl_table.c:4634
cpl_table_get_column_min
double cpl_table_get_column_min(const cpl_table *table, const char *name)
Get minimum value in a numerical column.
Definition: cpl_table.c:9891
CPL_FFT_NOSCALE
Definition: cpl_fft.h:57
cpl_vector_get_max
double cpl_vector_get_max(const cpl_vector *v)
Get the maximum of the cpl_vector.
Definition: cpl_vector.c:1520
cpl_table_divide_columns
cpl_error_code cpl_table_divide_columns(cpl_table *table, const char *to_name, const char *from_name)
Divide two numeric or complex table columns.
Definition: cpl_table.c:8636
cpl_ensure
#define cpl_ensure(BOOL, ERRCODE, RETURN)
Set an error code and return iff a boolean expression is false.
Definition: cpl_error.h:214
cpl_apertures_get_minpos_y
cpl_size cpl_apertures_get_minpos_y(const cpl_apertures *self, cpl_size ind)
Get the Y-position of the aperture minimum value.
Definition: cpl_apertures.c:471
cpl_imagelist_threshold
cpl_error_code cpl_imagelist_threshold(cpl_imagelist *imlist, double lo_cut, double hi_cut, double assign_lo_cut, double assign_hi_cut)
Threshold all pixel values to an interval.
Definition: cpl_imagelist_basic.c:497
cpl_array_get_double_complex
double complex cpl_array_get_double_complex(const cpl_array *array, cpl_size indx, int *null)
Read a value from a double complex array.
Definition: cpl_array.c:2336
cpl_frameset_get_first_const
const cpl_frame * cpl_frameset_get_first_const(const cpl_frameset *self)
Get the first frame in the given set.
Definition: cpl_frameset.c:872
cpl_array_erase_window
cpl_error_code cpl_array_erase_window(cpl_array *array, cpl_size start, cpl_size count)
Delete a segment of an array.
Definition: cpl_array.c:3619
cpl_image_delete
void cpl_image_delete(cpl_image *d)
Free memory associated to an cpl_image object.
Definition: cpl_image_io.c:1826
cpl_propertylist_get_long
long cpl_propertylist_get_long(const cpl_propertylist *self, const char *name)
Get the long value of the given property list entry.
Definition: cpl_propertylist.c:2929
cpl_image_get_data_float_complex_const
const float complex * cpl_image_get_data_float_complex_const(const cpl_image *img)
Get the data as a float complex array.
Definition: cpl_image_io.c:1789
cpl_imagelist_duplicate
cpl_imagelist * cpl_imagelist_duplicate(const cpl_imagelist *imlist)
Copy an image list.
Definition: cpl_imagelist_io.c:586
cpl_parameter_enable
cpl_error_code cpl_parameter_enable(cpl_parameter *self, cpl_parameter_mode mode)
Activates a parameter for the given mode.
Definition: cpl_parameter.c:3679
cpl_mask_dump_window
cpl_error_code cpl_mask_dump_window(const cpl_mask *self, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, FILE *stream)
Dump a mask.
Definition: cpl_mask.c:964
cpl_matrix_get_median
double cpl_matrix_get_median(const cpl_matrix *matrix)
Find the median of matrix elements.
Definition: cpl_matrix.c:4925
cpl_table_add_columns
cpl_error_code cpl_table_add_columns(cpl_table *table, const char *to_name, const char *from_name)
Add the values of two numeric or complex table columns.
Definition: cpl_table.c:8471
cpl_frameset_get_size
cpl_size cpl_frameset_get_size(const cpl_frameset *self)
Get the current size of a frame set.
Definition: cpl_frameset.c:579
cpl_plot_bivectors
cpl_error_code cpl_plot_bivectors(const char *pre, const char **options, const char *post, const cpl_bivector **bivectors, cpl_size nbvec)
Plot an array of bivectors.
Definition: cpl_plot.c:397
cpl_matrix_wrap
cpl_matrix * cpl_matrix_wrap(cpl_size rows, cpl_size columns, double *data)
Create a new matrix from existing data.
Definition: cpl_matrix.c:491
cpl_test_get_bytes_vector
size_t cpl_test_get_bytes_vector(const cpl_vector *self)
Get the amount of storage [bytes] for the CPL object.
Definition: cpl_test.c:353
cpl_table_multiply_columns
cpl_error_code cpl_table_multiply_columns(cpl_table *table, const char *to_name, const char *from_name)
Multiply two numeric or complex table columns.
Definition: cpl_table.c:8577
cpl_matrix_multiply_scalar
cpl_error_code cpl_matrix_multiply_scalar(cpl_matrix *matrix, double value)
Multiply a matrix by a scalar.
Definition: cpl_matrix.c:3626
cpl_image_get
double cpl_image_get(const cpl_image *image, cpl_size xpos, cpl_size ypos, int *pis_rejected)
Get the value of a pixel at a given position.
Definition: cpl_image_io.c:733
cpl_property_get_double
double cpl_property_get_double(const cpl_property *self)
Get the value of a double property.
Definition: cpl_property.c:2192
cpl_image_logarithm_create
cpl_image * cpl_image_logarithm_create(const cpl_image *image, double base)
Create a new image by taking the elementwise logarithm of an image.
Definition: cpl_image_basic.c:2066
cpl_apertures_get_right
cpl_size cpl_apertures_get_right(const cpl_apertures *self, cpl_size ind)
Get the rightmost x position in an aperture.
Definition: cpl_apertures.c:563
cpl_parameter_set_id
cpl_error_code cpl_parameter_set_id(cpl_parameter *self, int id)
Set the numerical identifier of the given parameter.
Definition: cpl_parameter.c:3301
cpl_array_cast
cpl_array * cpl_array_cast(const cpl_array *array, cpl_type type)
Cast a numeric array to a new numeric type array.
Definition: cpl_array.c:3465
CPL_ERROR_DUPLICATING_STREAM
Definition: cpl_error.h:394
cpl_array_get_data_double_const
const double * cpl_array_get_data_double_const(const cpl_array *array)
Get a pointer to constant double array data.
Definition: cpl_array.c:1693
cpl_plugin_set_exec
cpl_error_code cpl_plugin_set_exec(cpl_plugin *self, cpl_plugin_func func)
Set the execution handler of a plugin.
Definition: cpl_plugin.c:1331
cpl_mask_opening
cpl_error_code cpl_mask_opening(cpl_mask *in, const cpl_matrix *ker)
Compute a morphological opening.
Definition: cpl_mask.c:2124
cpl_recipeconfig_set_tags
int cpl_recipeconfig_set_tags(cpl_recipeconfig *self, const cpl_framedata *data)
Set the list of configuration tags.
Definition: cpl_recipeconfig.c:453
cpl_fits_find_extension
cpl_size cpl_fits_find_extension(const char *filename, const char *extname)
Get the place of a given extension in a FITS file.
Definition: cpl_fits.c:221
cpl_propertylist_prepend_long
cpl_error_code cpl_propertylist_prepend_long(cpl_propertylist *self, const char *name, long value)
Prepend a long value to a property list.
Definition: cpl_propertylist.c:4902
cpl_plugin_get_email
const char * cpl_plugin_get_email(const cpl_plugin *self)
Get the contact information of a plugin.
Definition: cpl_plugin.c:1114
cpl_frameset_iterator_new
cpl_frameset_iterator * cpl_frameset_iterator_new(const cpl_frameset *parent)
Create a new frame set iterator.
Definition: cpl_frameset.c:2091
cpl_table_get_data_double_complex_const
const double complex * cpl_table_get_data_double_complex_const(const cpl_table *table, const char *name)
Get a pointer to constant double complex column data.
Definition: cpl_table.c:4241
cpl_vector_power
cpl_error_code cpl_vector_power(cpl_vector *v, double exponent)
Compute the power of all vector elements.
Definition: cpl_vector.c:2526
CPL_PLUGIN_TYPE_NONE
Definition: cpl_plugin.h:57
cpl_table_get_data_array
cpl_array ** cpl_table_get_data_array(cpl_table *table, const char *name)
Get a pointer to array column data.
Definition: cpl_table.c:4412
cpl_frame_get_nextensions
cpl_size cpl_frame_get_nextensions(const cpl_frame *self)
Get the number of extensions of this frame.
Definition: cpl_frame.c:841
cpl_array_get_float
float cpl_array_get_float(const cpl_array *array, cpl_size indx, int *null)
Read a value from a float array.
Definition: cpl_array.c:2218
cpl_table_is_selected
int cpl_table_is_selected(const cpl_table *table, cpl_size row)
Determine whether a table row is selected or not.
Definition: cpl_table.c:21066
cpl_array_multiply
cpl_error_code cpl_array_multiply(cpl_array *to_array, const cpl_array *from_array)
Multiply the values of two numeric or complex arrays.
Definition: cpl_array.c:3840
cpl_imagelist_divide_scalar
cpl_error_code cpl_imagelist_divide_scalar(cpl_imagelist *imlist, double divisor)
Elementwise division of each image in the imlist with a scalar.
Definition: cpl_imagelist_basic.c:343
CPL_FRAME_TYPE_ANY
Definition: cpl_frame.h:107
cpl_polynomial_copy
cpl_error_code cpl_polynomial_copy(cpl_polynomial *self, const cpl_polynomial *other)
Copy the contents of one polynomial into another one.
Definition: cpl_polynomial.c:677
CPL_IO_COMPRESS_HCOMPRESS
Definition: cpl_io.h:91
cpl_image_rebin
cpl_image * cpl_image_rebin(const cpl_image *image, cpl_size xstart, cpl_size ystart, cpl_size xstep, cpl_size ystep)
Rebin an image.
Definition: cpl_image_resample.c:529
cpl_matrix_is_diagonal
int cpl_matrix_is_diagonal(const cpl_matrix *matrix, double tolerance)
Check if a matrix is diagonal.
Definition: cpl_matrix.c:2010
cpl_apertures_get_max
double cpl_apertures_get_max(const cpl_apertures *self, cpl_size ind)
Get the maximum value of an aperture.
Definition: cpl_apertures.c:700
cpl_imagelist_subtract_image
cpl_error_code cpl_imagelist_subtract_image(cpl_imagelist *imlist, const cpl_image *img)
Subtract an image from an image list.
Definition: cpl_imagelist_basic.c:199
cpl_parameterlist_get_next
cpl_parameter * cpl_parameterlist_get_next(cpl_parameterlist *self)
Get the next parameter in the given list.
Definition: cpl_parameterlist.c:389
cpl_table_get_long_long
long long cpl_table_get_long_long(const cpl_table *table, const char *name, cpl_size row, int *null)
Read a value from a long long column.
Definition: cpl_table.c:5276
CPL_TYPE_SIZE
Definition: cpl_type.h:121
cpl_image_get_flux_window
double cpl_image_get_flux_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Computes the sum of pixel values over an image sub-window.
Definition: cpl_image_stats.c:337
cpl_property_new_array
cpl_property * cpl_property_new_array(const char *name, cpl_type type, cpl_size size)
Create an empty property of a given type and size.
Definition: cpl_property.c:479
CPL_PARAMETER_CLASS_RANGE
Definition: cpl_parameter.h:104
cpl_errorstate_get
cpl_errorstate cpl_errorstate_get(void)
Get the CPL errorstate.
Definition: cpl_errorstate.c:189
cpl_parameter_get_range_min_int
int cpl_parameter_get_range_min_int(const cpl_parameter *self)
Get the minimum value of an integer range parameter.
Definition: cpl_parameter.c:2895
cpl_table_and_selected_double
cpl_size cpl_table_and_selected_double(cpl_table *table, const char *name, cpl_table_select_operator operator, double value)
Select from selected table rows, by comparing double column values with a constant.
Definition: cpl_table.c:13246
cpl_image_get_mad_window
double cpl_image_get_mad_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, double *sigma)
Computes median and median absolute deviation (MAD) on an image window.
Definition: cpl_image_stats.c:792
cpl_table_get_data_long
long * cpl_table_get_data_long(cpl_table *table, const char *name)
Get a pointer to long column data.
Definition: cpl_table.c:3560
CPL_MIN
#define CPL_MIN(first, second)
Return the minimum of two values.
Definition: cpl_math_const.h:279
cpl_table_new_column
cpl_error_code cpl_table_new_column(cpl_table *table, const char *name, cpl_type type)
Create an empty column in a table.
Definition: cpl_table.c:1594
cpl_array_wrap_string
cpl_array * cpl_array_wrap_string(char **data, cpl_size length)
Create a new character string array from existing data.
Definition: cpl_array.c:533
cpl_table_and_selected_double_complex
cpl_size cpl_table_and_selected_double_complex(cpl_table *table, const char *name, cpl_table_select_operator operator, double complex value)
Select from selected table rows, by comparing double complex column values with a complex constant.
Definition: cpl_table.c:13446
cpl_msg_warning
void cpl_msg_warning(const char *component, const char *format,...)
Display a warning message.
Definition: cpl_msg.c:1615
cpl_image_divide_scalar_create
cpl_image * cpl_image_divide_scalar_create(const cpl_image *image, double divisor)
Create a new image by elementwise division of an image with a scalar.
Definition: cpl_image_basic.c:2037
CPL_VALUE_MINUSINF
Definition: cpl_image_bpm.h:62
cpl_matrix_sort_columns
cpl_error_code cpl_matrix_sort_columns(cpl_matrix *matrix, int mode)
Sort matrix by columns.
Definition: cpl_matrix.c:2673
cpl_propertylist_delete
void cpl_propertylist_delete(cpl_propertylist *self)
Destroy a property list.
Definition: cpl_propertylist.c:1445
cpl_framedata_set_max_count
cpl_error_code cpl_framedata_set_max_count(cpl_framedata *self, cpl_size max_count)
Set the maximum number of frames.
Definition: cpl_framedata.c:492
cpl_propertylist_update_char
cpl_error_code cpl_propertylist_update_char(cpl_propertylist *self, const char *name, char value)
Update a property list with a character value.
Definition: cpl_propertylist.c:6103
cpl_propertylist_prepend_int
cpl_error_code cpl_propertylist_prepend_int(cpl_propertylist *self, const char *name, int value)
Prepend a integer value to a property list.
Definition: cpl_propertylist.c:4850
cpl_array_copy_data_float_complex
cpl_error_code cpl_array_copy_data_float_complex(cpl_array *array, const float complex *data)
Copy existing data to a float complex array.
Definition: cpl_array.c:810
cpl_image_dump_structure
cpl_error_code cpl_image_dump_structure(const cpl_image *self, FILE *stream)
Dump structural information of a CPL image.
Definition: cpl_image_io.c:2579
CPL_ERROR_TYPE_MISMATCH
Definition: cpl_error.h:426
cpl_vector_get_data
double * cpl_vector_get_data(cpl_vector *in)
Get a pointer to the data part of the vector.
Definition: cpl_vector.c:799
cpl_image_unwrap
void * cpl_image_unwrap(cpl_image *d)
Free memory associated to an cpl_image object, but the pixel buffer.
Definition: cpl_image_io.c:1853
cpl_image_xor_scalar
cpl_error_code cpl_image_xor_scalar(cpl_image *self, const cpl_image *first, cpl_bitmask second)
The bit-wise xor of a scalar and an image with integer pixels.
Definition: cpl_image_basic.c:1691
cpl_matrix_extract_row
cpl_matrix * cpl_matrix_extract_row(const cpl_matrix *matrix, cpl_size row)
Extract a matrix row.
Definition: cpl_matrix.c:1018
cpl_table_and_selected_long_long
cpl_size cpl_table_and_selected_long_long(cpl_table *table, const char *name, cpl_table_select_operator operator, long long value)
Select from selected table rows, by comparing long long column values with a constant.
Definition: cpl_table.c:12213
cpl_image_xor
cpl_error_code cpl_image_xor(cpl_image *self, const cpl_image *first, const cpl_image *second)
The bit-wise xor of two images with integer pixels.
Definition: cpl_image_basic.c:1468
_cpl_io_type_
_cpl_io_type_
These are the file I/O modes.
Definition: cpl_io.h:62
cpl_recipeconfig_delete
void cpl_recipeconfig_delete(cpl_recipeconfig *self)
Delete a recipe configuration object.
Definition: cpl_recipeconfig.c:283
cpl_table_logarithm_column
cpl_error_code cpl_table_logarithm_column(cpl_table *table, const char *name, double base)
Compute the logarithm of column values.
Definition: cpl_table.c:9188
cpl_table_wrap_double
cpl_error_code cpl_table_wrap_double(cpl_table *table, double *data, const char *name)
Create in table a new double column obtained from existing data.
Definition: cpl_table.c:2184
cpl_frameset_erase_frame
cpl_error_code cpl_frameset_erase_frame(cpl_frameset *self, cpl_frame *frame)
Erase the given frame from a frame set.
Definition: cpl_frameset.c:1241
cpl_table_is_valid
int cpl_table_is_valid(const cpl_table *table, const char *name, cpl_size row)
Check if a column element is valid.
Definition: cpl_table.c:7303
cpl_table_get_data_int_const
const int * cpl_table_get_data_int_const(const cpl_table *table, const char *name)
Get a pointer to constant integer column data.
Definition: cpl_table.c:3497
cpl_propertylist_prepend_char
cpl_error_code cpl_propertylist_prepend_char(cpl_propertylist *self, const char *name, char value)
Prepend a character value to a property list.
Definition: cpl_propertylist.c:4746
cpl_table_unwrap
void * cpl_table_unwrap(cpl_table *table, const char *name)
Unwrap a table column.
Definition: cpl_table.c:2365
cpl_table_power_column
cpl_error_code cpl_table_power_column(cpl_table *table, const char *name, double exponent)
Compute the power of numerical column values.
Definition: cpl_table.c:9352
cpl_wcs_get_image_dims
const cpl_array * cpl_wcs_get_image_dims(const cpl_wcs *wcs)
Accessor to get the axis lengths of the image associated with a WCS.
Definition: cpl_wcs.c:1170
cpl_image_not
cpl_error_code cpl_image_not(cpl_image *self, const cpl_image *first)
The bit-wise complement (not) of an image with integer pixels.
Definition: cpl_image_basic.c:1532
cpl_vector_extract
cpl_vector * cpl_vector_extract(const cpl_vector *v, cpl_size istart, cpl_size istop, cpl_size istep)
Extract a sub_vector from a vector.
Definition: cpl_vector.c:1412
CPL_IO_COMPRESS_RICE
Definition: cpl_io.h:87
cpl_image_conjugate
cpl_error_code cpl_image_conjugate(cpl_image *self, const cpl_image *other)
Complex conjugate the pixels in a complex image.
Definition: cpl_image_io.c:1113
cpl_propertylist_append_string
cpl_error_code cpl_propertylist_append_string(cpl_propertylist *self, const char *name, const char *value)
Append a string value to a property list.
Definition: cpl_propertylist.c:5627
cpl_matrix_delete
void cpl_matrix_delete(cpl_matrix *matrix)
Delete a matrix.
Definition: cpl_matrix.c:531
cpl_image_get_data_const
const void * cpl_image_get_data_const(const cpl_image *img)
Gets the pixel data.
Definition: cpl_image_io.c:1527
cpl_table_erase_column
cpl_error_code cpl_table_erase_column(cpl_table *table, const char *name)
Delete a column from a table.
Definition: cpl_table.c:4510
cpl_table_cast_column
cpl_error_code cpl_table_cast_column(cpl_table *table, const char *from_name, const char *to_name, cpl_type type)
Cast a numeric or complex column to a new numeric or complex type column.
Definition: cpl_table.c:8240
cpl_wcs_new_from_propertylist
cpl_wcs * cpl_wcs_new_from_propertylist(const cpl_propertylist *plist)
Create a wcs structure by parsing a propertylist.
Definition: cpl_wcs.c:215
cpl_table_copy_data_long
cpl_error_code cpl_table_copy_data_long(cpl_table *table, const char *name, const long *data)
Copy existing data to a table long column.
Definition: cpl_table.c:2483
cpl_mask_load
cpl_mask * cpl_mask_load(const char *filename, cpl_size pnum, cpl_size xtnum)
Load a mask from a FITS file.
Definition: cpl_mask.c:2540
cpl_vector_get_sum
double cpl_vector_get_sum(const cpl_vector *v)
Get the sum of the elements of the cpl_vector.
Definition: cpl_vector.c:1540
_cpl_recipe_::parameters
cpl_parameterlist * parameters
Pointer to the recipes parameter list, or NULL if the recipe does not provide/accept any parameters.
Definition: cpl_recipe.h:92
cpl_parameterlist_delete
void cpl_parameterlist_delete(cpl_parameterlist *self)
Destroy a parameter list.
Definition: cpl_parameterlist.c:108
cpl_imagelist_cast
cpl_error_code cpl_imagelist_cast(cpl_imagelist *self, const cpl_imagelist *other, cpl_type type)
Cast an imagelist, optionally in-place.
Definition: cpl_imagelist_io.c:495
cpl_array_delete
void cpl_array_delete(cpl_array *array)
Delete an array.
Definition: cpl_array.c:930
cpl_polynomial_fit_1d_create
cpl_polynomial * cpl_polynomial_fit_1d_create(const cpl_vector *x_pos, const cpl_vector *values, cpl_size degree, double *pmse)
Fit a 1D-polynomial to a 1D-signal in a least squares sense.
Definition: cpl_polynomial.c:1674
cpl_array_get_stdev
double cpl_array_get_stdev(const cpl_array *array)
Compute the standard deviation of a numeric array.
Definition: cpl_array.c:4914
CPL_PLUGIN_TYPE_RECIPE_V2
Definition: cpl_plugin.h:70
cpl_parameter_get_enum_int
int cpl_parameter_get_enum_int(const cpl_parameter *self, int position)
Get the possible values for an integer enumeration.
Definition: cpl_parameter.c:2654
cpl_fits_get_nb_extensions
int cpl_fits_get_nb_extensions(const char *filename)
Get the number of extensions contained in a FITS file.
Definition: cpl_fits.c:281
cpl_array_set_long_long
cpl_error_code cpl_array_set_long_long(cpl_array *array, cpl_size indx, long long value)
Write a value to a long long integer array element.
Definition: cpl_array.c:2569
cpl_propertylist_sort
cpl_error_code cpl_propertylist_sort(cpl_propertylist *self, cpl_propertylist_compare_func compare)
Sort a property list.
Definition: cpl_propertylist.c:7316
cpl_parameter_get_default_flag
int cpl_parameter_get_default_flag(const cpl_parameter *self)
Get the presence status flag of the given parameter.
Definition: cpl_parameter.c:3163
cpl_image_fill_polynomial
cpl_error_code cpl_image_fill_polynomial(cpl_image *ima, const cpl_polynomial *poly, double startx, double stepx, double starty, double stepy)
Generate an image from a 2d polynomial function.
Definition: cpl_image_gen.c:217
cpl_matrix_get_ncol
cpl_size cpl_matrix_get_ncol(const cpl_matrix *matrix)
Get the number of columns of a matrix.
Definition: cpl_matrix.c:635
cpl_matrix_fill
cpl_error_code cpl_matrix_fill(cpl_matrix *matrix, double value)
Write the same value to all matrix elements.
Definition: cpl_matrix.c:1201
cpl_mask_erosion
cpl_error_code cpl_mask_erosion(cpl_mask *in, const cpl_matrix *ker)
Compute a morphological erosion.
Definition: cpl_mask.c:2179
cpl_array_fill_window_long_long
cpl_error_code cpl_array_fill_window_long_long(cpl_array *array, cpl_size start, cpl_size count, long long value)
Write the same value within a long long integer array segment.
Definition: cpl_array.c:3012
cpl_array_get_data_int
int * cpl_array_get_data_int(cpl_array *array)
Get a pointer to integer array data.
Definition: cpl_array.c:1212
cpl_error_get_message_default
const char * cpl_error_get_message_default(cpl_error_code code)
Return the standard CPL error message of the current CPL error.
Definition: cpl_error.c:606
cpl_image_fill_jacobian
cpl_error_code cpl_image_fill_jacobian(cpl_image *out, const cpl_image *deltax, const cpl_image *deltay)
Compute area change ratio for a transformation map.
Definition: cpl_image_resample.c:1005
CPL_MULTIFRAME_ID_JOIN
Definition: cpl_multiframe.h:135
CPL_PARAMETER_MODE_ENV
Definition: cpl_parameter.h:55
cpl_image_get_data_double
double * cpl_image_get_data_double(cpl_image *img)
Get the data as a double array.
Definition: cpl_image_io.c:1652
cpl_image_exponential
cpl_error_code cpl_image_exponential(cpl_image *self, double base)
Compute the elementwise exponential of the image.
Definition: cpl_image_basic.c:1248
cpl_array_get_data_string
char ** cpl_array_get_data_string(cpl_array *array)
Get a pointer to string array data.
Definition: cpl_array.c:1867
cpl_image_fill_abs_arg
cpl_error_code cpl_image_fill_abs_arg(cpl_image *im_abs, cpl_image *im_arg, const cpl_image *self)
Split a complex image into its absolute and argument part(s)
Definition: cpl_image_io.c:950
CPL_TYPE_INT
Definition: cpl_type.h:91
cpl_array_wrap_double_complex
cpl_array * cpl_array_wrap_double_complex(double complex *data, cpl_size length)
Create a new double complex array from existing data.
Definition: cpl_array.c:499
cpl_table_get_data_float_complex
float complex * cpl_table_get_data_float_complex(cpl_table *table, const char *name)
Get a pointer to float complex column data.
Definition: cpl_table.c:3928
cpl_parameter_mode
enum _cpl_parameter_mode_ cpl_parameter_mode
The parameter mode data type.
Definition: cpl_parameter.h:73
cpl_propertylist_append_bool
cpl_error_code cpl_propertylist_append_bool(cpl_propertylist *self, const char *name, int value)
Append a boolean value to a property list.
Definition: cpl_propertylist.c:5315
cpl_wcs_convert
cpl_error_code cpl_wcs_convert(const cpl_wcs *wcs, const cpl_matrix *from, cpl_matrix **to, cpl_array **status, cpl_wcs_trans_mode transform)
Convert between physical and world coordinates.
Definition: cpl_wcs.c:502
cpl_regex_new
cpl_regex * cpl_regex_new(const char *expression, int negated, flag_type flags)
Create a new regular expression filter.
Definition: cpl_multiframe.c:85
cpl_image_fill_test_create
cpl_image * cpl_image_fill_test_create(cpl_size nx, cpl_size ny)
Generate a test image with pixel type CPL_TYPE_DOUBLE.
Definition: cpl_image_gen.c:265
cpl_propertylist_get_int
int cpl_propertylist_get_int(const cpl_propertylist *self, const char *name)
Get the integer value of the given property list entry.
Definition: cpl_propertylist.c:2839
cpl_frameset_iterator_assign
cpl_error_code cpl_frameset_iterator_assign(cpl_frameset_iterator *self, const cpl_frameset_iterator *other)
Assign a frame set iterator to another.
Definition: cpl_frameset.c:2223
cpl_bivector_get_x_data
double * cpl_bivector_get_x_data(cpl_bivector *in)
Get a pointer to the x data part of the cpl_bivector.
Definition: cpl_bivector.c:487
cpl_table_delete
void cpl_table_delete(cpl_table *table)
Delete a table.
Definition: cpl_table.c:2819
cpl_polynomial_add
cpl_error_code cpl_polynomial_add(cpl_polynomial *self, const cpl_polynomial *first, const cpl_polynomial *second)
Add two polynomials of the same dimension.
Definition: cpl_polynomial.c:1768
CPL_FILTER_OPENING
Definition: cpl_filter.h:126
cpl_image_and
cpl_error_code cpl_image_and(cpl_image *self, const cpl_image *first, const cpl_image *second)
The bit-wise and of two images with integer pixels.
Definition: cpl_image_basic.c:1339
cpl_multiframe_append_datagroup_from_position
cpl_error_code cpl_multiframe_append_datagroup_from_position(cpl_multiframe *self, const char *id, const cpl_frame *frame, cpl_size nsets, cpl_size *positions, const cpl_regex **filter1, const cpl_regex **filter2, const char **properties, unsigned int flags)
Adds a group of dataset references given by position to a multi-frame container object.
Definition: cpl_multiframe.c:4547
cpl_propertylist_get_property
cpl_property * cpl_propertylist_get_property(cpl_propertylist *self, const char *name)
Access property list elements by property name.
Definition: cpl_propertylist.c:7939
cpl_imagelist_logarithm
cpl_error_code cpl_imagelist_logarithm(cpl_imagelist *imlist, double base)
Compute the elementwise logarithm of each image in the imlist.
Definition: cpl_imagelist_basic.c:372
cpl_propertylist_duplicate
cpl_propertylist * cpl_propertylist_duplicate(const cpl_propertylist *self)
Create a copy of the given property list.
Definition: cpl_propertylist.c:1397
cpl_vector_get_data_const
const double * cpl_vector_get_data_const(const cpl_vector *in)
Get a pointer to the data part of the vector.
Definition: cpl_vector.c:834
CPL_FRAME_GROUP_CALIB
Definition: cpl_frame.h:148
CPL_REGEX_EXTENDED
Definition: cpl_multiframe.h:67
CPL_ERROR_ILLEGAL_OUTPUT
Definition: cpl_error.h:418
cpl_frame_delete
void cpl_frame_delete(cpl_frame *self)
Destroy a frame.
Definition: cpl_frame.c:340
cpl_propertylist_insert_after_double_complex
cpl_error_code cpl_propertylist_insert_after_double_complex(cpl_propertylist *self, const char *after, const char *name, double complex value)
Insert a double complex value into a property list after the given position.
Definition: cpl_propertylist.c:4699
cpl_matrix_divide
cpl_error_code cpl_matrix_divide(cpl_matrix *matrix1, const cpl_matrix *matrix2)
Divide a matrix by another element by element.
Definition: cpl_matrix.c:3482
cpl_image_is_rejected
int cpl_image_is_rejected(const cpl_image *im, cpl_size x, cpl_size y)
Test if a pixel is good or bad.
Definition: cpl_image_bpm.c:153
cpl_pluginlist_get_last
cpl_plugin * cpl_pluginlist_get_last(cpl_pluginlist *self)
Get the last plugin of a plugin list.
Definition: cpl_pluginlist.c:421
_cpl_plugin_::author
const char * author
Name of the plugin's author.
Definition: cpl_plugin.h:189
cpl_parameterlist_dump
void cpl_parameterlist_dump(const cpl_parameterlist *self, FILE *stream)
Dump the contents of a parameter list to the given stream.
Definition: cpl_parameterlist.c:973
cpl_parameter_get_range_max_int
int cpl_parameter_get_range_max_int(const cpl_parameter *self)
Get the maximum value of an integer range parameter.
Definition: cpl_parameter.c:3030
cpl_matrix_subtract
cpl_error_code cpl_matrix_subtract(cpl_matrix *matrix1, const cpl_matrix *matrix2)
Subtract a matrix from another.
Definition: cpl_matrix.c:3358
cpl_parameter_get_range_max_double
double cpl_parameter_get_range_max_double(const cpl_parameter *self)
Get the maximum value of a double range parameter.
Definition: cpl_parameter.c:3097
cpl_propertylist_update_long
cpl_error_code cpl_propertylist_update_long(cpl_propertylist *self, const char *name, long value)
Update a property list with a long value.
Definition: cpl_propertylist.c:6352
cpl_table_fill_column_window_int
cpl_error_code cpl_table_fill_column_window_int(cpl_table *table, const char *name, cpl_size start, cpl_size count, int value)
Write a value to an integer column segment.
Definition: cpl_table.c:6631
cpl_image_power_create
cpl_image * cpl_image_power_create(const cpl_image *image, double exponent)
Create a new image by elementwise raising of an image to a power.
Definition: cpl_image_basic.c:2122
cpl_matrix_power
cpl_error_code cpl_matrix_power(cpl_matrix *matrix, double exponent)
Compute a power of matrix elements.
Definition: cpl_matrix.c:3872
cpl_vector_get_minpos
cpl_size cpl_vector_get_minpos(const cpl_vector *self)
Get the index of the minimum element of the cpl_vector.
Definition: cpl_vector.c:1447
cpl_array_fill_window_float_complex
cpl_error_code cpl_array_fill_window_float_complex(cpl_array *array, cpl_size start, cpl_size count, float complex value)
Write the same value within a float complex array segment.
Definition: cpl_array.c:3135
cpl_array_get_data_long_const
const long * cpl_array_get_data_long_const(const cpl_array *array)
Get a pointer to constant long integer array data.
Definition: cpl_array.c:1321
cpl_multiframe_new
cpl_multiframe * cpl_multiframe_new(const cpl_frame *head, const char *id, cpl_regex *filter)
Create a new multi-frame container object.
Definition: cpl_multiframe.c:4022
cpl_parameter_set_bool
cpl_error_code cpl_parameter_set_bool(cpl_parameter *self, int value)
Assign a boolean value to a parameter.
Definition: cpl_parameter.c:1441
cpl_table_and_selected_float
cpl_size cpl_table_and_selected_float(cpl_table *table, const char *name, cpl_table_select_operator operator, float value)
Select from selected table rows, by comparing float column values with a constant.
Definition: cpl_table.c:12590
cpl_image_exponential_create
cpl_image * cpl_image_exponential_create(const cpl_image *image, double base)
Create a new image by elementwise exponentiation of an image.
Definition: cpl_image_basic.c:2094
cpl_table_fill_invalid_float
cpl_error_code cpl_table_fill_invalid_float(cpl_table *table, const char *name, float code)
Write a numerical value to invalid float column elements.
Definition: cpl_table.c:11241
cpl_table_get_column_type
cpl_type cpl_table_get_column_type(const cpl_table *table, const char *name)
Get the type of a table column.
Definition: cpl_table.c:2942
CPL_MATH_SIG_FWHM
#define CPL_MATH_SIG_FWHM
Sigma per FWHM, 0.5/sqrt(2.0*log(2.0))
Definition: cpl_math_const.h:250
cpl_propertylist_get_bool
int cpl_propertylist_get_bool(const cpl_propertylist *self, const char *name)
Get the boolean value of the given property list entry.
Definition: cpl_propertylist.c:2753
cpl_image_get_mad
double cpl_image_get_mad(const cpl_image *image, double *sigma)
Computes median and median absolute deviation (MAD) on an image.
Definition: cpl_image_stats.c:833
cpl_apertures_get_fwhm
cpl_bivector * cpl_apertures_get_fwhm(const cpl_image *self, const cpl_apertures *aperts)
Compute FWHM values in x and y for a list of apertures.
Definition: cpl_apertures.c:1311
cpl_table_or_selected_float_complex
cpl_size cpl_table_or_selected_float_complex(cpl_table *table, const char *name, cpl_table_select_operator operator, float complex value)
Select from unselected table rows, by comparing float complex column values with a complex constant.
Definition: cpl_table.c:13119
cpl_mask_copy
cpl_error_code cpl_mask_copy(cpl_mask *in1, const cpl_mask *in2, cpl_size x_pos, cpl_size y_pos)
Insert a mask in an other one.
Definition: cpl_mask.c:1643
cpl_array_fill_window
cpl_error_code cpl_array_fill_window(cpl_array *array, cpl_size start, cpl_size count, double value)
Write the same value within a numerical array segment.
Definition: cpl_array.c:2853
cpl_mask_move
cpl_error_code cpl_mask_move(cpl_mask *in, cpl_size nb_cut, const cpl_size *new_pos)
Reorganize the pixels in a mask.
Definition: cpl_mask.c:1827
cpl_table_get_column_dimensions
cpl_size cpl_table_get_column_dimensions(const cpl_table *table, const char *name)
Get the number of dimensions of a table column of arrays.
Definition: cpl_table.c:3031
cpl_propertylist_insert_string
cpl_error_code cpl_propertylist_insert_string(cpl_propertylist *self, const char *here, const char *name, const char *value)
Insert a string value into a property list at the given position.
Definition: cpl_propertylist.c:3981
cpl_apertures_get_pos_y
double cpl_apertures_get_pos_y(const cpl_apertures *self, cpl_size ind)
Get the average Y-position of an aperture.
Definition: cpl_apertures.c:299
cpl_property_set_double_complex
cpl_error_code cpl_property_set_double_complex(cpl_property *self, double complex value)
Set the value of a double complex property.
Definition: cpl_property.c:1614
_cpl_fft_mode_
_cpl_fft_mode_
The supported values of the CPL fft mode.
Definition: cpl_fft.h:40
cpl_vector_subtract_scalar
cpl_error_code cpl_vector_subtract_scalar(cpl_vector *v, double subtrahend)
Elementwise subtraction of a scalar from a vector.
Definition: cpl_vector.c:2345
cpl_vector_get_stdev
double cpl_vector_get_stdev(const cpl_vector *v)
Compute the bias-corrected standard deviation of a vectors elements.
Definition: cpl_vector.c:1636
cpl_property_get_size
cpl_size cpl_property_get_size(const cpl_property *self)
Get the current number of elements a property contains.
Definition: cpl_property.c:734
cpl_image_fill_re_im
cpl_error_code cpl_image_fill_re_im(cpl_image *im_real, cpl_image *im_imag, const cpl_image *self)
Split a complex image into its real and/or imaginary part(s)
Definition: cpl_image_io.c:868
cpl_image_copy
cpl_error_code cpl_image_copy(cpl_image *im1, const cpl_image *im2, cpl_size xpos, cpl_size ypos)
Copy one image into another.
Definition: cpl_image_basic.c:2842
cpl_apertures_sort_by_flux
cpl_error_code cpl_apertures_sort_by_flux(cpl_apertures *self)
Sort by decreasing aperture flux.
Definition: cpl_apertures.c:998
cpl_mask_unwrap
void * cpl_mask_unwrap(cpl_mask *m)
Delete a cpl_mask except the data array.
Definition: cpl_mask.c:801
CPL_FILTER_EROSION
Definition: cpl_filter.h:112
cpl_parameter_get_help
const char * cpl_parameter_get_help(const cpl_parameter *self)
Get the description of a parameter.
Definition: cpl_parameter.c:1993
cpl_propertylist_get_float
float cpl_propertylist_get_float(const cpl_propertylist *self, const char *name)
Get the float value of the given property list entry.
Definition: cpl_propertylist.c:3111
cpl_framedata_get_tag
const char * cpl_framedata_get_tag(const cpl_framedata *self)
Get the frame tag.
Definition: cpl_framedata.c:261
cpl_memory_dump
void cpl_memory_dump(void)
Display the memory status.
Definition: cpl_memory.c:414
cpl_plugin_dump
void cpl_plugin_dump(const cpl_plugin *self, FILE *stream)
Dump the plugin debugging information to the given stream.
Definition: cpl_plugin.c:1560
cpl_propertylist_append_long_long
cpl_error_code cpl_propertylist_append_long_long(cpl_propertylist *self, const char *name, long long value)
Append a long long value to a property list.
Definition: cpl_propertylist.c:5471
cpl_bivector_duplicate
cpl_bivector * cpl_bivector_duplicate(const cpl_bivector *in)
Duplicate a cpl_bivector.
Definition: cpl_bivector.c:162
CPL_MATH_SQRT1_2
#define CPL_MATH_SQRT1_2
sqrt(1/2)
Definition: cpl_math_const.h:196
cpl_mask_is_empty_window
cpl_boolean cpl_mask_is_empty_window(const cpl_mask *self, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Return CPL_TRUE iff a mask has no elements set in the window.
Definition: cpl_mask.c:1046
cpl_imagelist_collapse_median_create
cpl_image * cpl_imagelist_collapse_median_create(const cpl_imagelist *self)
Create a median image from the input imagelist.
Definition: cpl_imagelist_basic.c:914
cpl_plugin_set_synopsis
cpl_error_code cpl_plugin_set_synopsis(cpl_plugin *self, const char *synopsis)
Set the short description of a plugin.
Definition: cpl_plugin.c:804
cpl_image_wrap_float_complex
cpl_image * cpl_image_wrap_float_complex(cpl_size nx, cpl_size ny, float complex *pixels)
Create a float complex image using an existing pixel buffer.
Definition: cpl_image_io.c:267
cpl_table_get_data_string
char ** cpl_table_get_data_string(cpl_table *table, const char *name)
Get a pointer to string column data.
Definition: cpl_table.c:4301
cpl_parameter_get_default_string
const char * cpl_parameter_get_default_string(const cpl_parameter *self)
Get the default value of the given string parameter.
Definition: cpl_parameter.c:2526
cpl_frame_set_tag
cpl_error_code cpl_frame_set_tag(cpl_frame *self, const char *tag)
Set a frame's category tag.
Definition: cpl_frame.c:668
cpl_image_fit_gaussian
cpl_error_code cpl_image_fit_gaussian(const cpl_image *im, cpl_size xpos, cpl_size ypos, cpl_size size, double *norm, double *xcen, double *ycen, double *sig_x, double *sig_y, double *fwhm_x, double *fwhm_y)
Apply a gaussian fit on an image sub window.
Definition: cpl_image_basic.c:3102
cpl_framedata_duplicate
cpl_framedata * cpl_framedata_duplicate(const cpl_framedata *other)
Create a duplicate of another frame data object.
Definition: cpl_framedata.c:149
cpl_table_fill_invalid_double_complex
cpl_error_code cpl_table_fill_invalid_double_complex(cpl_table *table, const char *name, double complex code)
Write a numerical value to invalid double complex column elements.
Definition: cpl_table.c:11401
cpl_table_set_column_format
cpl_error_code cpl_table_set_column_format(cpl_table *table, const char *name, const char *format)
Give a new format to a table column.
Definition: cpl_table.c:3324
cpl_imagelist_multiply
cpl_error_code cpl_imagelist_multiply(cpl_imagelist *in1, const cpl_imagelist *in2)
Multiply two image lists, the first one is replaced by the result.
Definition: cpl_imagelist_basic.c:133
cpl_image_get_centroid_y_window
double cpl_image_get_centroid_y_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Computes the y centroid value over an image sub-window.
Definition: cpl_image_stats.c:497
cpl_plugin_set_version
int cpl_plugin_set_version(cpl_plugin *self, unsigned long version)
Set the version number of a plugin.
Definition: cpl_plugin.c:427
cpl_table_dump
void cpl_table_dump(const cpl_table *table, cpl_size start, cpl_size count, FILE *stream)
Print a table.
Definition: cpl_table.c:10532
cpl_table_fill_invalid_long_long
cpl_error_code cpl_table_fill_invalid_long_long(cpl_table *table, const char *name, long long code)
Write a numerical value to invalid long long column elements.
Definition: cpl_table.c:11187
cpl_wlcalib_slitmodel_set_wfwhm
cpl_error_code cpl_wlcalib_slitmodel_set_wfwhm(cpl_wlcalib_slitmodel *self, double value)
Set the FWHM of the transfer function to be used by the spectrum filler.
Definition: cpl_wlcalib.c:299
cpl_image_load_window
cpl_image * cpl_image_load_window(const char *filename, cpl_type im_type, cpl_size pnum, cpl_size xtnum, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Load an image from a FITS file.
Definition: cpl_image_io.c:480
cpl_image_reject
cpl_error_code cpl_image_reject(cpl_image *im, cpl_size x, cpl_size y)
Set a pixel as bad in an image.
Definition: cpl_image_bpm.c:239
CPL_BORDER_FILTER
Definition: cpl_filter.h:62
cpl_matrix_extract_diagonal
cpl_matrix * cpl_matrix_extract_diagonal(const cpl_matrix *matrix, cpl_size diagonal)
Extract a matrix diagonal.
Definition: cpl_matrix.c:1126
cpl_array_has_valid
int cpl_array_has_valid(const cpl_array *array)
Check if an array contains at least one valid value.
Definition: cpl_array.c:1098
cpl_recipeconfig_get_inputs
char ** cpl_recipeconfig_get_inputs(const cpl_recipeconfig *self, const char *tag)
Get the input configuration for a given tag.
Definition: cpl_recipeconfig.c:634
cpl_plugin_get_name
const char * cpl_plugin_get_name(const cpl_plugin *self)
Get the name of a plugin.
Definition: cpl_plugin.c:763
cpl_multiframe_delete
void cpl_multiframe_delete(cpl_multiframe *self)
Destroys a multi-frame container object.
Definition: cpl_multiframe.c:4195
cpl_imagelist_load_window
cpl_imagelist * cpl_imagelist_load_window(const char *filename, cpl_type im_type, cpl_size xtnum, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Load images windows from a FITS file extension into an image list.
Definition: cpl_imagelist_io.c:153
cpl_geom_img_offset_fine
cpl_bivector * cpl_geom_img_offset_fine(const cpl_imagelist *ilist, const cpl_bivector *estimates, const cpl_bivector *anchors, cpl_size s_hx, cpl_size s_hy, cpl_size m_hx, cpl_size m_hy, cpl_vector *correl)
Get the offsets by correlating the images.
Definition: cpl_geom_img.c:195
cpl_recipeconfig_set_input
int cpl_recipeconfig_set_input(cpl_recipeconfig *self, const char *tag, const char *input, cpl_size min_count, cpl_size max_count)
Add the configuration for the given input and configuration tag.
Definition: cpl_recipeconfig.c:868
cpl_apertures_get_stdev
double cpl_apertures_get_stdev(const cpl_apertures *self, cpl_size ind)
Get the standard deviation of an aperture.
Definition: cpl_apertures.c:789
cpl_image_fill_noise_uniform
cpl_error_code cpl_image_fill_noise_uniform(cpl_image *ima, double min_pix, double max_pix)
Generate an image with uniform random noise distribution.
Definition: cpl_image_gen.c:95
cpl_wlcalib_slitmodel_set_threshold
cpl_error_code cpl_wlcalib_slitmodel_set_threshold(cpl_wlcalib_slitmodel *self, double value)
The (positive) threshold for truncating the transfer function.
Definition: cpl_wlcalib.c:333
cpl_vector_copy
cpl_error_code cpl_vector_copy(cpl_vector *destination, const cpl_vector *source)
This function copies contents of a vector into another vector.
Definition: cpl_vector.c:693
cpl_error_ensure
#define cpl_error_ensure(CONDITION, CODE, ACTION,...)
Generic error handling macro.
Definition: cpl_error.h:173
cpl_pluginlist_find
cpl_plugin * cpl_pluginlist_find(cpl_pluginlist *self, const char *name)
Find a plugin with a given name in a plugin list.
Definition: cpl_pluginlist.c:472
cpl_parameter_set_double
cpl_error_code cpl_parameter_set_double(cpl_parameter *self, double value)
Assign a double value to a parameter.
Definition: cpl_parameter.c:1560
cpl_recipeconfig_is_required
int cpl_recipeconfig_is_required(const cpl_recipeconfig *self, const char *tag, const char *input)
Check whether a frame with the given tag is required.
Definition: cpl_recipeconfig.c:1486
cpl_apertures_get_max_y
double cpl_apertures_get_max_y(const cpl_apertures *self, cpl_size ind)
Get the average Y-position of an aperture.
Definition: cpl_apertures.c:337
cpl_realloc
void * cpl_realloc(void *memblk, size_t nbytes)
Change the size of a memory block.
Definition: cpl_memory.c:201
cpl_imagelist_unset
cpl_image * cpl_imagelist_unset(cpl_imagelist *self, cpl_size pos)
Remove an image from an imagelist.
Definition: cpl_imagelist_io.c:360
cpl_plugin_init
cpl_error_code cpl_plugin_init(cpl_plugin *self, unsigned int api, unsigned long version, unsigned long type, const char *name, const char *synopsis, const char *description, const char *author, const char *email, const char *copyright, cpl_plugin_func create, cpl_plugin_func execute, cpl_plugin_func destroy)
Initialise a plugin.
Definition: cpl_plugin.c:1512
cpl_mask_get_data_const
const cpl_binary * cpl_mask_get_data_const(const cpl_mask *in)
Get a pointer to the data part of the mask.
Definition: cpl_mask.c:839
cpl_array_copy_data_complex
cpl_error_code cpl_array_copy_data_complex(cpl_array *array, const double complex *data)
Copy buffer of complex data to a complex array.
Definition: cpl_array.c:613
cpl_image_logarithm
cpl_error_code cpl_image_logarithm(cpl_image *self, double base)
Compute the elementwise logarithm of the image.
Definition: cpl_image_basic.c:1199
cpl_matrix_divide_scalar
cpl_error_code cpl_matrix_divide_scalar(cpl_matrix *matrix, double value)
Divide a matrix by a scalar.
Definition: cpl_matrix.c:3678
cpl_array_fill_window_long
cpl_error_code cpl_array_fill_window_long(cpl_array *array, cpl_size start, cpl_size count, long value)
Write the same value within a long integer array segment.
Definition: cpl_array.c:2971
cpl_polynomial_delete
void cpl_polynomial_delete(cpl_polynomial *self)
Delete a cpl_polynomial.
Definition: cpl_polynomial.c:551
cpl_msg_set_log_level
cpl_error_code cpl_msg_set_log_level(cpl_msg_severity verbosity)
Open and initialise a log file.
Definition: cpl_msg.c:906
cpl_propertylist_get
cpl_property * cpl_propertylist_get(cpl_propertylist *self, long position)
Access property list elements by index.
Definition: cpl_propertylist.c:2544
cpl_propertylist_update_bool
cpl_error_code cpl_propertylist_update_bool(cpl_propertylist *self, const char *name, int value)
Update a property list with a boolean value.
Definition: cpl_propertylist.c:6186
cpl_frame_dump
void cpl_frame_dump(const cpl_frame *frame, FILE *stream)
Dump the frame debugging information to the given stream.
Definition: cpl_frame.c:878
cpl_pluginlist_new
cpl_pluginlist * cpl_pluginlist_new(void)
Creates an empty plugin list.
Definition: cpl_pluginlist.c:74
CPL_ERROR_DIVISION_BY_ZERO
Definition: cpl_error.h:424
cpl_property_set_char
cpl_error_code cpl_property_set_char(cpl_property *self, char value)
Set the value of a character property.
Definition: cpl_property.c:1054
cpl_plugin_type
enum _cpl_plugin_type_ cpl_plugin_type
Data type used to store the plugin type code.
Definition: cpl_plugin.h:82
cpl_polynomial_shift_1d
cpl_error_code cpl_polynomial_shift_1d(cpl_polynomial *p, cpl_size i, double u)
Modify p, p(x0, x1, ..., xi, ...) := (x0, x1, ..., xi+u, ...)
Definition: cpl_polynomial.c:1603
cpl_imagelist_get
cpl_image * cpl_imagelist_get(cpl_imagelist *imlist, cpl_size inum)
Get an image from a list of images.
Definition: cpl_imagelist_io.c:207
cpl_array_set_float
cpl_error_code cpl_array_set_float(cpl_array *array, cpl_size indx, float value)
Write a value to a float array element.
Definition: cpl_array.c:2640
cpl_table_copy_data_float_complex
cpl_error_code cpl_table_copy_data_float_complex(cpl_table *table, const char *name, const float complex *data)
Copy existing data to a table float complex column.
Definition: cpl_table.c:2638
cpl_propertylist_insert_after_float_complex
cpl_error_code cpl_propertylist_insert_after_float_complex(cpl_propertylist *self, const char *after, const char *name, float complex value)
Insert a float complex value into a property list after the given position.
Definition: cpl_propertylist.c:4646
cpl_image_load
cpl_image * cpl_image_load(const char *filename, cpl_type im_type, cpl_size pnum, cpl_size xtnum)
Load an image from a FITS file.
Definition: cpl_image_io.c:372
cpl_recipeconfig_get_outputs
char ** cpl_recipeconfig_get_outputs(const cpl_recipeconfig *self, const char *tag)
Get the output configuration for a given tag.
Definition: cpl_recipeconfig.c:969
cpl_stats_get_min_x
cpl_size cpl_stats_get_min_x(const cpl_stats *in)
Get the minimum x position from a cpl_stats object.
Definition: cpl_stats.c:304
cpl_propertylist_set_double
cpl_error_code cpl_propertylist_set_double(cpl_propertylist *self, const char *name, double value)
Set the value of the given double property list entry.
Definition: cpl_propertylist.c:2236
cpl_pluginlist_delete
void cpl_pluginlist_delete(cpl_pluginlist *self)
Delete a plugin list.
Definition: cpl_pluginlist.c:113
cpl_test_get_failed
cpl_size cpl_test_get_failed(void)
Get the number of failed CPL tests.
Definition: cpl_test.c:315
cpl_image_extract
cpl_image * cpl_image_extract(const cpl_image *in, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Extract a rectangular zone from an image into another image.
Definition: cpl_image_basic.c:2544
cpl_mask_collapse_create
cpl_mask * cpl_mask_collapse_create(const cpl_mask *in, int dir)
Collapse a mask.
Definition: cpl_mask.c:1371
CPL_MATH_DEG_RAD
#define CPL_MATH_DEG_RAD
180/pi
Definition: cpl_math_const.h:223
CPL_MATH_4_PI
#define CPL_MATH_4_PI
4/pi
Definition: cpl_math_const.h:151
cpl_array_add_scalar_complex
cpl_error_code cpl_array_add_scalar_complex(cpl_array *array, double complex value)
Add a constant complex value to a complex array.
Definition: cpl_array.c:3983
cpl_polynomial_eval_1d_diff
double cpl_polynomial_eval_1d_diff(const cpl_polynomial *self, double a, double b, double *ppa)
Evaluate p(a) - p(b) using Horners rule.
Definition: cpl_polynomial.c:1127
cpl_property_delete
void cpl_property_delete(cpl_property *self)
Destroy a property.
Definition: cpl_property.c:610
cpl_msg_set_threadid_off
void cpl_msg_set_threadid_off(void)
Disable the thread id tag to output messages.
Definition: cpl_msg.c:1269
cpl_parameter_get_tag
const char * cpl_parameter_get_tag(const cpl_parameter *self)
Get the parameter's user tag.
Definition: cpl_parameter.c:3343
cpl_property_set_double
cpl_error_code cpl_property_set_double(cpl_property *self, double value)
Set the value of a double property.
Definition: cpl_property.c:1381
cpl_property_get_char
char cpl_property_get_char(const cpl_property *self)
Get the value of a character property.
Definition: cpl_property.c:1801
cpl_array_extract_real
cpl_array * cpl_array_extract_real(const cpl_array *array)
Extract the real value of array elements.
Definition: cpl_array.c:4662
_cpl_framedata_
The public frame data object.
Definition: cpl_framedata.h:54
cpl_propertylist_empty
void cpl_propertylist_empty(cpl_propertylist *self)
Remove all properties from a property list.
Definition: cpl_propertylist.c:6032
cpl_array_get_max
double cpl_array_get_max(const cpl_array *array)
Get maximum value in a numerical array.
Definition: cpl_array.c:5028
cpl_parameter_get_double
double cpl_parameter_get_double(const cpl_parameter *self)
Get the value of the given double parameter.
Definition: cpl_parameter.c:2236
cpl_propertylist_prepend_float
cpl_error_code cpl_propertylist_prepend_float(cpl_propertylist *self, const char *name, float value)
Prepend a float value to a property list.
Definition: cpl_propertylist.c:5006
CPL_STATS_MIN
Definition: cpl_stats.h:57
cpl_table_get_data_float_complex_const
const float complex * cpl_table_get_data_float_complex_const(const cpl_table *table, const char *name)
Get a pointer to constant float complex column data.
Definition: cpl_table.c:3990
cpl_vector_get_median
double cpl_vector_get_median(cpl_vector *v)
Compute the median of the elements of a vector.
Definition: cpl_vector.c:1579
cpl_parameter_set_default_flag
cpl_error_code cpl_parameter_set_default_flag(cpl_parameter *self, int status)
Change the presence status flag of the given parameter.
Definition: cpl_parameter.c:3209
cpl_table_get_column_format
const char * cpl_table_get_column_format(const cpl_table *table, const char *name)
Get the format of a table column.
Definition: cpl_table.c:3370
cpl_image_fill_jacobian_polynomial
cpl_error_code cpl_image_fill_jacobian_polynomial(cpl_image *out, const cpl_polynomial *poly_x, const cpl_polynomial *poly_y)
Compute area change ratio for a 2D polynomial transformation.
Definition: cpl_image_resample.c:829
cpl_stats_get_flux
double cpl_stats_get_flux(const cpl_stats *in)
Get the flux from a cpl_stats object.
Definition: cpl_stats.c:225
cpl_strdup
char * cpl_strdup(const char *string)
Duplicate a string.
Definition: cpl_memory.c:254
cpl_wcs_delete
void cpl_wcs_delete(cpl_wcs *wcs)
Destroy a WCS structure.
Definition: cpl_wcs.c:389
cpl_msg_set_width
void cpl_msg_set_width(int width)
Set the maximum width of the displayed text.
Definition: cpl_msg.c:1456
cpl_wlcalib_fill_line_spectrum_fast
cpl_error_code cpl_wlcalib_fill_line_spectrum_fast(cpl_vector *self, void *model, const cpl_polynomial *disp)
Generate a 1D spectrum from a model and a dispersion relation.
Definition: cpl_wlcalib.c:719
cpl_property_set_int
cpl_error_code cpl_property_set_int(cpl_property *self, int value)
Set the value of an integer property.
Definition: cpl_property.c:1165
cpl_mask_dilation
cpl_error_code cpl_mask_dilation(cpl_mask *in, const cpl_matrix *ker)
Compute a morphological dilation.
Definition: cpl_mask.c:2208
CPL_PLUGIN_TYPE_RECIPE
Definition: cpl_plugin.h:63
cpl_wcs_platesol
cpl_error_code cpl_wcs_platesol(const cpl_propertylist *ilist, const cpl_matrix *cel, const cpl_matrix *xy, int niter, float thresh, cpl_wcs_platesol_fitmode fitmode, cpl_wcs_platesol_outmode outmode, cpl_propertylist **olist)
Do a 2d plate solution given physical and celestial coordinates.
Definition: cpl_wcs.c:710
cpl_msg_indent_less
void cpl_msg_indent_less(void)
Decrease the message indentation by one indentation step.
Definition: cpl_msg.c:1554
cpl_error_set_message
#define cpl_error_set_message(function, code,...)
Set CPL error code, function name, source file and line number where an error occurred along with a t...
Definition: cpl_error.h:344
cpl_imagelist_unwrap
void cpl_imagelist_unwrap(cpl_imagelist *self)
Free memory used by a cpl_imagelist object, except the images.
Definition: cpl_imagelist_io.c:445
CPL_ERROR_INVALID_TYPE
Definition: cpl_error.h:428
cpl_matrix_decomp_chol
cpl_error_code cpl_matrix_decomp_chol(cpl_matrix *self)
Replace a matrix by its Cholesky-decomposition, L * transpose(L) = A.
Definition: cpl_matrix.c:4293
cpl_array_extract
cpl_array * cpl_array_extract(const cpl_array *array, cpl_size start, cpl_size count)
Create an array from a section of another array.
Definition: cpl_array.c:3395
cpl_image_power
cpl_error_code cpl_image_power(cpl_image *self, double exponent)
Compute the elementwise power of the image.
Definition: cpl_image_basic.c:1295
cpl_polynomial_duplicate
cpl_polynomial * cpl_polynomial_duplicate(const cpl_polynomial *self)
Duplicate a polynomial.
Definition: cpl_polynomial.c:640
cpl_msg_stop_log
cpl_error_code cpl_msg_stop_log(void)
Close the current log file.
Definition: cpl_msg.c:975
cpl_stats_get_max_y
cpl_size cpl_stats_get_max_y(const cpl_stats *in)
Get the maximum y position from a cpl_stats object.
Definition: cpl_stats.c:358
cpl_image_get_median_window
double cpl_image_get_median_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
computes median pixel value over an image sub-window.
Definition: cpl_image_stats.c:258
cpl_plugin_get_exec
cpl_plugin_func cpl_plugin_get_exec(const cpl_plugin *self)
Get the execution handler of a plugin.
Definition: cpl_plugin.c:1372
cpl_image_divide_create
cpl_image * cpl_image_divide_create(const cpl_image *image1, const cpl_image *image2)
Divide two images.
Definition: cpl_image_basic.c:383
CPL_FILTER_LINEAR
Definition: cpl_filter.h:140
cpl_array_set_invalid
cpl_error_code cpl_array_set_invalid(cpl_array *array, cpl_size indx)
Invalidate an array element.
Definition: cpl_array.c:2818
cpl_frame_group
enum _cpl_frame_group_ cpl_frame_group
The frame group data type.
Definition: cpl_frame.h:165
cpl_frame_get_type
cpl_frame_type cpl_frame_get_type(const cpl_frame *self)
Get the type of a frame.
Definition: cpl_frame.c:484
cpl_errorstate_dump_one
void cpl_errorstate_dump_one(unsigned self, unsigned first, unsigned last)
Dump a single CPL error.
Definition: cpl_errorstate.c:411
cpl_image_accept_all
cpl_error_code cpl_image_accept_all(cpl_image *self)
Set all pixels in the image as good.
Definition: cpl_image_bpm.c:324
cpl_matrix_get_maxpos
cpl_error_code cpl_matrix_get_maxpos(const cpl_matrix *matrix, cpl_size *row, cpl_size *column)
Find position of the maximum value of matrix elements.
Definition: cpl_matrix.c:5105
cpl_geom_img_offset_saa
cpl_image ** cpl_geom_img_offset_saa(const cpl_imagelist *ilist, const cpl_bivector *offs, cpl_kernel kernel, cpl_size rejmin, cpl_size rejmax, cpl_geom_combine union_flag, double *ppos_x, double *ppos_y)
Shift and add an images list to a single image.
Definition: cpl_geom_img.c:570
cpl_imagelist_set
cpl_error_code cpl_imagelist_set(cpl_imagelist *self, cpl_image *im, cpl_size pos)
Insert an image into an imagelist.
Definition: cpl_imagelist_io.c:274
cpl_frame
struct _cpl_frame_ cpl_frame
The frame data type.
Definition: cpl_frame.h:38
cpl_error_get_file
const char * cpl_error_get_file(void)
Get the source code file name where the last CPL error occurred.
Definition: cpl_error.c:545
cpl_propertylist_prepend_string
cpl_error_code cpl_propertylist_prepend_string(cpl_propertylist *self, const char *name, const char *value)
Prepend a string value to a property list.
Definition: cpl_propertylist.c:5110
cpl_parameterlist
struct _cpl_parameterlist_ cpl_parameterlist
The opaque parameter list data type.
Definition: cpl_parameterlist.h:37
cpl_matrix_set_size
cpl_error_code cpl_matrix_set_size(cpl_matrix *matrix, cpl_size rows, cpl_size columns)
Resize a matrix.
Definition: cpl_matrix.c:3173
cpl_test_end
int cpl_test_end(cpl_size nfail)
Finalize CPL and unit-testing environment and report any failures.
Definition: cpl_test.c:2539
cpl_matrix_get_stdev
double cpl_matrix_get_stdev(const cpl_matrix *matrix)
Find the standard deviation of matrix elements.
Definition: cpl_matrix.c:4883
cpl_table_exponential_column
cpl_error_code cpl_table_exponential_column(cpl_table *table, const char *name, double base)
Compute the exponential of column values.
Definition: cpl_table.c:9245
cpl_property_get_bool
int cpl_property_get_bool(const cpl_property *self)
Get the value of a boolean property.
Definition: cpl_property.c:1851
cpl_propertylist_get_char
char cpl_propertylist_get_char(const cpl_propertylist *self, const char *name)
Get the character value of the given property list entry.
Definition: cpl_propertylist.c:2665
cpl_property_set_bool
cpl_error_code cpl_property_set_bool(cpl_property *self, int value)
Set the value of a boolean property.
Definition: cpl_property.c:1109
cpl_array_copy_data_int
cpl_error_code cpl_array_copy_data_int(cpl_array *array, const int *data)
Copy existing data to an integer array.
Definition: cpl_array.c:648
cpl_vector_new_from_image_column
cpl_vector * cpl_vector_new_from_image_column(const cpl_image *image_in, cpl_size pos)
Extract a column from an image.
Definition: cpl_image_basic.c:2668
_cpl_filter_mode_
_cpl_filter_mode_
These are the supported filter modes.
Definition: cpl_filter.h:109
cpl_vector_get
double cpl_vector_get(const cpl_vector *in, cpl_size idx)
Get an element of the vector.
Definition: cpl_vector.c:876
cpl_version_get_minor
unsigned int cpl_version_get_minor(void)
Get the library's minor version number.
Definition: cpl_version.c:77
cpl_table_set_invalid
cpl_error_code cpl_table_set_invalid(cpl_table *table, const char *name, cpl_size row)
Flag a column element as invalid.
Definition: cpl_table.c:6423
cpl_msg_debug
void cpl_msg_debug(const char *component, const char *format,...)
Display a debug message.
Definition: cpl_msg.c:1727
cpl_matrix_duplicate
cpl_matrix * cpl_matrix_duplicate(const cpl_matrix *matrix)
Make a copy of a matrix.
Definition: cpl_matrix.c:857
cpl_polynomial_get_dimension
cpl_size cpl_polynomial_get_dimension(const cpl_polynomial *self)
The dimension of the polynomial.
Definition: cpl_polynomial.c:787
cpl_apertures_get_median
double cpl_apertures_get_median(const cpl_apertures *self, cpl_size ind)
Get the median value of an aperture.
Definition: cpl_apertures.c:762
cpl_matrix_flip_columns
cpl_error_code cpl_matrix_flip_columns(cpl_matrix *matrix)
Reverse order of columns in matrix.
Definition: cpl_matrix.c:2358
cpl_msg_get_level
cpl_msg_severity cpl_msg_get_level(void)
Get current terminal verbosity level.
Definition: cpl_msg.c:1172
cpl_matrix_fill_window
cpl_error_code cpl_matrix_fill_window(cpl_matrix *matrix, double value, cpl_size row, cpl_size col, cpl_size nrow, cpl_size ncol)
Write the same value into a submatrix of a matrix.
Definition: cpl_matrix.c:1612
CPL_FILTER_MORPHO_SCALE
Definition: cpl_filter.h:284
cpl_propertylist_has
int cpl_propertylist_has(const cpl_propertylist *self, const char *name)
Check whether a property is present in a property list.
Definition: cpl_propertylist.c:1717
cpl_imagelist_add
cpl_error_code cpl_imagelist_add(cpl_imagelist *in1, const cpl_imagelist *in2)
Add two image lists, the first one is replaced by the result.
Definition: cpl_imagelist_basic.c:93
cpl_propertylist_insert_after_property
cpl_error_code cpl_propertylist_insert_after_property(cpl_propertylist *self, const char *after, const cpl_property *property)
Insert a property into a property list after the given position.
Definition: cpl_propertylist.c:8388
cpl_table_count_selected
cpl_size cpl_table_count_selected(const cpl_table *table)
Get number of selected rows in given table.
Definition: cpl_table.c:21114
cpl_table_fill_column_window_double
cpl_error_code cpl_table_fill_column_window_double(cpl_table *table, const char *name, cpl_size start, cpl_size count, double value)
Write a value to a double column segment.
Definition: cpl_table.c:6981
cpl_image_get_maxpos_window
cpl_error_code cpl_image_get_maxpos_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, cpl_size *px, cpl_size *py)
Computes maximum pixel value and position over an image sub window.
Definition: cpl_image_stats.c:608
cpl_image_get_bpm
cpl_mask * cpl_image_get_bpm(cpl_image *img)
Gets the bad pixels map.
Definition: cpl_image_io.c:1598
CPL_ERROR_BAD_FILE_FORMAT
Definition: cpl_error.h:400
_cpl_stats_mode_
_cpl_stats_mode_
The values of the CPL stats mode. The values can be combined with bitwise or.
Definition: cpl_stats.h:49
cpl_bivector_dump
void cpl_bivector_dump(const cpl_bivector *f, FILE *stream)
Dump a cpl_bivector as ASCII to a stream.
Definition: cpl_bivector.c:252
CPL_TYPE_POINTER
Definition: cpl_type.h:139
cpl_parameterlist_get_first_const
const cpl_parameter * cpl_parameterlist_get_first_const(const cpl_parameterlist *self)
Get the first parameter in the given parameter list.
Definition: cpl_parameterlist.c:234
cpl_property_set_long_long
cpl_error_code cpl_property_set_long_long(cpl_property *self, long long value)
Set the value of a long long property.
Definition: cpl_property.c:1273
cpl_image_unset_bpm
cpl_mask * cpl_image_unset_bpm(cpl_image *self)
Remove the bad pixel map from the image.
Definition: cpl_image_io.c:1576
cpl_msg_indent
void cpl_msg_indent(int level)
Set the indentation level.
Definition: cpl_msg.c:1515
cpl_table_arg_column
cpl_error_code cpl_table_arg_column(cpl_table *table, const char *name)
Compute the phase angle value of table column elements.
Definition: cpl_table.c:9405
CPL_FRAME_TYPE_TABLE
Definition: cpl_frame.h:93
cpl_mask_flip
cpl_error_code cpl_mask_flip(cpl_mask *in, int angle)
Flip a mask on a given mirror line.
Definition: cpl_mask.c:1704
cpl_vector_multiply
cpl_error_code cpl_vector_multiply(cpl_vector *v1, const cpl_vector *v2)
Multiply two vectors component-wise.
Definition: cpl_vector.c:1031
cpl_matrix_logarithm
cpl_error_code cpl_matrix_logarithm(cpl_matrix *matrix, double base)
Compute the logarithm of matrix elements.
Definition: cpl_matrix.c:3736
cpl_multiframe_append_dataset_from_position
cpl_error_code cpl_multiframe_append_dataset_from_position(cpl_multiframe *self, const char *id, const cpl_frame *frame, cpl_size position, const cpl_regex *filter1, const cpl_regex *filter2, unsigned int flags)
Adds a dataset reference given by position to a multi-frame container object.
Definition: cpl_multiframe.c:4309
cpl_image_filter_median
cpl_image * cpl_image_filter_median(const cpl_image *in, const cpl_matrix *ker)
Apply a spatial median filter to an image.
Definition: cpl_image_filter.c:1301
_cpl_frame_group_
_cpl_frame_group_
Supported frame groups.
Definition: cpl_frame.h:130
_cpl_plugin_::type
unsigned long type
The Plugin type.
Definition: cpl_plugin.h:140
cpl_plugin_set_type
cpl_error_code cpl_plugin_set_type(cpl_plugin *self, unsigned long type)
Set the type of a plugin.
Definition: cpl_plugin.c:570
cpl_propertylist_append
cpl_error_code cpl_propertylist_append(cpl_propertylist *self, const cpl_propertylist *other)
Append a property list..
Definition: cpl_propertylist.c:5778
cpl_matrix_is_identity
int cpl_matrix_is_identity(const cpl_matrix *matrix, double tolerance)
Check for identity matrix.
Definition: cpl_matrix.c:2071
cpl_table_get_data_double
double * cpl_table_get_data_double(cpl_table *table, const char *name)
Get a pointer to double column data.
Definition: cpl_table.c:4055
cpl_errorstate_is_equal
cpl_boolean cpl_errorstate_is_equal(cpl_errorstate self)
Detect a change in the CPL error state.
Definition: cpl_errorstate.c:244
cpl_table_fill_column_window
cpl_error_code cpl_table_fill_column_window(cpl_table *table, const char *name, cpl_size start, cpl_size count, double value)
Write a value to a numerical column segment.
Definition: cpl_table.c:6490
cpl_polynomial_derivative
cpl_error_code cpl_polynomial_derivative(cpl_polynomial *self, cpl_size dim)
Compute a first order partial derivative.
Definition: cpl_polynomial.c:1048
cpl_parameterlist_find_context
cpl_parameter * cpl_parameterlist_find_context(cpl_parameterlist *self, const char *context)
Find a parameter which belongs to the given context in a parameter list.
Definition: cpl_parameterlist.c:820
cpl_border_mode
enum _cpl_border_mode_ cpl_border_mode
The border mode type.
Definition: cpl_filter.h:98
cpl_msg_set_level
void cpl_msg_set_level(cpl_msg_severity verbosity)
Set verbosity level of output to terminal.
Definition: cpl_msg.c:1095
cpl_apertures_get_minpos_x
cpl_size cpl_apertures_get_minpos_x(const cpl_apertures *self, cpl_size ind)
Get the X-position of the aperture minimum value.
Definition: cpl_apertures.c:449
cpl_table_add_scalar
cpl_error_code cpl_table_add_scalar(cpl_table *table, const char *name, double value)
Add a constant value to a numerical or complex column.
Definition: cpl_table.c:8689
CPL_ERROR_NULL_INPUT
Definition: cpl_error.h:412
CPL_FFT_BACKWARD
Definition: cpl_fft.h:51
cpl_array_fill_window_invalid
cpl_error_code cpl_array_fill_window_invalid(cpl_array *array, cpl_size start, cpl_size count)
Set an array segment to NULL.
Definition: cpl_array.c:3302
cpl_vector_get_median_const
double cpl_vector_get_median_const(const cpl_vector *v)
Compute the median of the elements of a vector.
Definition: cpl_vector.c:1604
cpl_vector_fill_polynomial_fit_residual
cpl_error_code cpl_vector_fill_polynomial_fit_residual(cpl_vector *self, const cpl_vector *fitvals, const cpl_vector *fitsigm, const cpl_polynomial *fit, const cpl_matrix *samppos, double *rechisq)
Compute the residual of a polynomial fit.
Definition: cpl_polynomial.c:1496
cpl_image_reject_from_mask
cpl_error_code cpl_image_reject_from_mask(cpl_image *im, const cpl_mask *map)
Set the bad pixels in an image as defined in a mask.
Definition: cpl_image_bpm.c:348
cpl_table_multiply_scalar
cpl_error_code cpl_table_multiply_scalar(cpl_table *table, const char *name, double value)
Multiply a numerical or complex column by a constant.
Definition: cpl_table.c:8885
cpl_array_abs
cpl_error_code cpl_array_abs(cpl_array *array)
Compute the absolute value of array elements.
Definition: cpl_array.c:4519
cpl_stats_new_from_image_window
cpl_stats * cpl_stats_new_from_image_window(const cpl_image *image, cpl_stats_mode mode, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Compute various statistics of an image sub-window.
Definition: cpl_stats.c:467
cpl_frameset_get_frame
cpl_frame * cpl_frameset_get_frame(cpl_frameset *set, cpl_size position)
Get a frame from a frame set.
Definition: cpl_frameset.c:1716
CPL_PARAMETER_CLASS_VALUE
Definition: cpl_parameter.h:97
cpl_array_duplicate
cpl_array * cpl_array_duplicate(const cpl_array *array)
Make a copy of an array.
Definition: cpl_array.c:3330
cpl_flux_get_bias_window
cpl_error_code cpl_flux_get_bias_window(const cpl_image *diff, const cpl_size *zone_def, cpl_size ron_hsize, cpl_size ron_nsamp, double *bias, double *error)
Compute the bias in a rectangle.
Definition: cpl_detector.c:197
cpl_image_hypot
cpl_error_code cpl_image_hypot(cpl_image *self, const cpl_image *first, const cpl_image *second)
The pixel-wise Euclidean distance function of the images.
Definition: cpl_image_basic.c:1759
cpl_mask_turn
cpl_error_code cpl_mask_turn(cpl_mask *self, int rot)
Rotate a mask by a multiple of 90 degrees clockwise.
Definition: cpl_mask.c:1539
cpl_imagelist_divide_image
cpl_error_code cpl_imagelist_divide_image(cpl_imagelist *imlist, const cpl_image *img)
Divide an image list by an image.
Definition: cpl_imagelist_basic.c:239
cpl_table_get_data_long_long
long long * cpl_table_get_data_long_long(cpl_table *table, const char *name)
Get a pointer to long long column data.
Definition: cpl_table.c:3682
cpl_polynomial_dump
cpl_error_code cpl_polynomial_dump(const cpl_polynomial *self, FILE *stream)
Dump a polynomial as ASCII to a stream, fail on zero-polynomial(s)
Definition: cpl_polynomial.c:583
cpl_propertylist_prepend_double
cpl_error_code cpl_propertylist_prepend_double(cpl_propertylist *self, const char *name, double value)
Prepend a double value to a property list.
Definition: cpl_propertylist.c:5058
cpl_plugin_get_deinit
cpl_plugin_func cpl_plugin_get_deinit(const cpl_plugin *self)
Get the cleanup handler of a plugin.
Definition: cpl_plugin.c:1456
cpl_table_duplicate_column
cpl_error_code cpl_table_duplicate_column(cpl_table *to_table, const char *to_name, const cpl_table *from_table, const char *from_name)
Copy a column from a table to another.
Definition: cpl_table.c:7615
cpl_table_new_column_array
cpl_error_code cpl_table_new_column_array(cpl_table *table, const char *name, cpl_type type, cpl_size depth)
Create an empty column of arrays in a table.
Definition: cpl_table.c:1697
cpl_msg_set_component_off
void cpl_msg_set_component_off(void)
Disable the component tag in output messages.
Definition: cpl_msg.c:1370
cpl_apertures_get_right_y
cpl_size cpl_apertures_get_right_y(const cpl_apertures *self, cpl_size ind)
Get the y position of the rightmost x position in an aperture.
Definition: cpl_apertures.c:585
CPL_IO_MAX
Definition: cpl_io.h:99
cpl_apertures_get_mean
double cpl_apertures_get_mean(const cpl_apertures *self, cpl_size ind)
Get the mean value of an aperture.
Definition: cpl_apertures.c:742
cpl_recipeconfig_get_max_count
cpl_size cpl_recipeconfig_get_max_count(const cpl_recipeconfig *self, const char *tag, const char *input)
Get the maximum number of frames for the given configuration and tag.
Definition: cpl_recipeconfig.c:1391
cpl_apertures_extract_mask
cpl_apertures * cpl_apertures_extract_mask(const cpl_image *self, const cpl_mask *selection)
Simple apertures creation from a user supplied selection mask.
Definition: cpl_apertures.c:1205
cpl_imagelist_dump_structure
cpl_error_code cpl_imagelist_dump_structure(const cpl_imagelist *self, FILE *stream)
Dump structural information of images in an imagelist.
Definition: cpl_imagelist_io.c:797
cpl_plugin_get_init
cpl_plugin_func cpl_plugin_get_init(const cpl_plugin *self)
Get the initialisation handler of a plugin.
Definition: cpl_plugin.c:1287
cpl_polynomial_compare
int cpl_polynomial_compare(const cpl_polynomial *self, const cpl_polynomial *other, double tol)
Compare the coefficients of two polynomials.
Definition: cpl_polynomial.c:732
cpl_stats_get_max
double cpl_stats_get_max(const cpl_stats *in)
Get the maximum from a cpl_stats object.
Definition: cpl_stats.c:134
cpl_image_average_create
cpl_image * cpl_image_average_create(const cpl_image *image_1, const cpl_image *image_2)
Build the average of two images.
Definition: cpl_image_basic.c:2281
cpl_bivector_delete
void cpl_bivector_delete(cpl_bivector *f)
Delete a cpl_bivector.
Definition: cpl_bivector.c:211
cpl_propertylist_append_float
cpl_error_code cpl_propertylist_append_float(cpl_propertylist *self, const char *name, float value)
Append a float value to a property list.
Definition: cpl_propertylist.c:5523
cpl_dfs_sign_products
cpl_error_code cpl_dfs_sign_products(const cpl_frameset *set, unsigned int flags)
Update DFS and DICB required header information of product frames.
Definition: cpl_dfs.c:1399
CPL_DFS_PRO_CATG
#define CPL_DFS_PRO_CATG
The name of the Product Category key.
Definition: cpl_dfs.h:48
cpl_plugin_get_api
unsigned int cpl_plugin_get_api(const cpl_plugin *self)
Get the version number of the plugin interface implementation.
Definition: cpl_plugin.c:382
cpl_pluginlist
struct _cpl_pluginlist_ cpl_pluginlist
The opaque plugin list data type.
Definition: cpl_pluginlist.h:40
cpl_wcs_get_crval
const cpl_array * cpl_wcs_get_crval(const cpl_wcs *wcs)
Accessor to get the CRVAL vector for a WCS.
Definition: cpl_wcs.c:1216
cpl_parameter_new_range
cpl_parameter * cpl_parameter_new_range(const char *name, cpl_type type, const char *description, const char *context,...)
Create a new range parameter.
Definition: cpl_parameter.c:1050
cpl_apertures_get_npix
cpl_size cpl_apertures_get_npix(const cpl_apertures *self, cpl_size ind)
Get the number of pixels of an aperture.
Definition: cpl_apertures.c:496
cpl_table_set_column_unit
cpl_error_code cpl_table_set_column_unit(cpl_table *table, const char *name, const char *unit)
Give a new unit to a table column.
Definition: cpl_table.c:3225
cpl_mask_get_data
cpl_binary * cpl_mask_get_data(cpl_mask *in)
Get a pointer to the data part of the mask.
Definition: cpl_mask.c:825
cpl_apertures_get_flux
double cpl_apertures_get_flux(const cpl_apertures *self, cpl_size ind)
Get the flux of an aperture.
Definition: cpl_apertures.c:813
cpl_array_get_data_long
long * cpl_array_get_data_long(cpl_array *array)
Get a pointer to long integer array data.
Definition: cpl_array.c:1287
cpl_plugin_set_copyright
cpl_error_code cpl_plugin_set_copyright(cpl_plugin *self, const char *copyright)
Set the license and copyright information of a plugin.
Definition: cpl_plugin.c:1158
cpl_array_set_string
cpl_error_code cpl_array_set_string(cpl_array *array, cpl_size indx, const char *string)
Write a character string to a string array element.
Definition: cpl_array.c:2785
CPL_TYPE_LONG_LONG
Definition: cpl_type.h:115
cpl_table_or_selected
cpl_size cpl_table_or_selected(cpl_table *table, const char *name1, cpl_table_select_operator operator, const char *name2)
Select from unselected table rows, by comparing the values of two numerical columns.
Definition: cpl_table.c:16346
cpl_property_get_string
const char * cpl_property_get_string(const cpl_property *self)
Get the value of a string property.
Definition: cpl_property.c:2271
cpl_vector_multiply_scalar
cpl_error_code cpl_vector_multiply_scalar(cpl_vector *v, double factor)
Elementwise multiplication of a vector with a scalar.
Definition: cpl_vector.c:2376
CPL_MULTIFRAME_ID_SET
Definition: cpl_multiframe.h:119
cpl_vector_sqrt
cpl_error_code cpl_vector_sqrt(cpl_vector *v)
Compute the sqrt of a cpl_vector.
Definition: cpl_vector.c:1310
cpl_pluginlist_get_size
int cpl_pluginlist_get_size(cpl_pluginlist *self)
Get the current size of a plugin list.
Definition: cpl_pluginlist.c:161
cpl_error_set_where
#define cpl_error_set_where(function)
Propagate a CPL-error to the current location.
Definition: cpl_error.h:278
cpl_table_copy_data_double
cpl_error_code cpl_table_copy_data_double(cpl_table *table, const char *name, const double *data)
Copy existing data to a table double column.
Definition: cpl_table.c:2689
cpl_test_get_tested
cpl_size cpl_test_get_tested(void)
Get the number of CPL tests performed.
Definition: cpl_test.c:286
cpl_frameset_get_next_const
const cpl_frame * cpl_frameset_get_next_const(const cpl_frameset *self)
Get the next frame in the given set.
Definition: cpl_frameset.c:970
cpl_plot_image
cpl_error_code cpl_plot_image(const char *pre, const char *options, const char *post, const cpl_image *image)
Plot an image.
Definition: cpl_plot.c:619
cpl_array_set_cplsize
cpl_error_code cpl_array_set_cplsize(cpl_array *array, cpl_size indx, cpl_size value)
Write a value to a cpl_size array element.
Definition: cpl_array.c:2604
cpl_image_count_rejected
cpl_size cpl_image_count_rejected(const cpl_image *im)
Count the number of bad pixels declared in an image.
Definition: cpl_image_bpm.c:185
cpl_parameterlist_find_const
const cpl_parameter * cpl_parameterlist_find_const(const cpl_parameterlist *self, const char *name)
Find a parameter with the given name in a parameter list.
Definition: cpl_parameterlist.c:529
cpl_apertures_dump
void cpl_apertures_dump(const cpl_apertures *self, FILE *fp)
Dump a cpl_apertures to an opened file pointer.
Definition: cpl_apertures.c:168
cpl_table_wrap_long_long
cpl_error_code cpl_table_wrap_long_long(cpl_table *table, long long *data, const char *name)
Create in table a new long long column obtained from existing data.
Definition: cpl_table.c:2021
cpl_propertylist_set_long
cpl_error_code cpl_propertylist_set_long(cpl_propertylist *self, const char *name, long value)
Set the value of the given long property list entry.
Definition: cpl_propertylist.c:2053
cpl_propertylist_copy_property_regexp
cpl_error_code cpl_propertylist_copy_property_regexp(cpl_propertylist *self, const cpl_propertylist *other, const char *regexp, int invert)
Copy matching properties from another property list.
Definition: cpl_propertylist.c:7096
cpl_fit_imagelist_polynomial
cpl_imagelist * cpl_fit_imagelist_polynomial(const cpl_vector *x_pos, const cpl_imagelist *values, cpl_size mindeg, cpl_size maxdeg, cpl_boolean is_symsamp, cpl_type pixeltype, cpl_image *fiterror)
Least-squares fit a polynomial to each pixel in a list of images.
Definition: cpl_fit.c:688
cpl_matrix_get_mean
double cpl_matrix_get_mean(const cpl_matrix *matrix)
Find the mean of all matrix elements.
Definition: cpl_matrix.c:4844
CPL_MATH_FWHM_SIG
#define CPL_MATH_FWHM_SIG
FWHM per Sigma, 2.0*sqrt(2.0*log(2.0))
Definition: cpl_math_const.h:241
cpl_msg_info_overwritable
void cpl_msg_info_overwritable(const char *component, const char *format,...)
Display an overwritable information message.
Definition: cpl_msg.c:1695
cpl_image_labelise_mask_create
cpl_image * cpl_image_labelise_mask_create(const cpl_mask *in, cpl_size *nbobjs)
Labelise a mask to differentiate different objects.
Definition: cpl_image_io.c:557
cpl_imagelist_subtract
cpl_error_code cpl_imagelist_subtract(cpl_imagelist *in1, const cpl_imagelist *in2)
Subtract two image lists, the first one is replaced by the result.
Definition: cpl_imagelist_basic.c:113
cpl_image_shift
cpl_error_code cpl_image_shift(cpl_image *self, cpl_size dx, cpl_size dy)
Shift an image by integer offsets.
Definition: cpl_image_basic.c:2790
cpl_vector_new_from_image_row
cpl_vector * cpl_vector_new_from_image_row(const cpl_image *image_in, cpl_size pos)
Extract a row from an image.
Definition: cpl_image_basic.c:2613
cpl_table_erase_invalid
cpl_error_code cpl_table_erase_invalid(cpl_table *table)
Remove from a table all columns just containing invalid elements, and then all rows containing at lea...
Definition: cpl_table.c:10128
cpl_parameterlist_find
cpl_parameter * cpl_parameterlist_find(cpl_parameterlist *self, const char *name)
Find a parameter with the given name in a parameter list.
Definition: cpl_parameterlist.c:591
cpl_propertylist_set_float_complex
cpl_error_code cpl_propertylist_set_float_complex(cpl_propertylist *self, const char *name, float complex value)
Set the value of the given float complex property list entry.
Definition: cpl_propertylist.c:2358
CPL_FILTER_STDEV
Definition: cpl_filter.h:226
cpl_parameter_set_tag
cpl_error_code cpl_parameter_set_tag(cpl_parameter *self, const char *tag)
Set the tag of the given parameter.
Definition: cpl_parameter.c:3388
CPL_FRAME_LEVEL_INTERMEDIATE
Definition: cpl_frame.h:200
cpl_apertures_new_from_image
cpl_apertures * cpl_apertures_new_from_image(const cpl_image *self, const cpl_image *lab)
Compute statistics on selected apertures.
Definition: cpl_apertures.c:240
cpl_table_wrap_float_complex
cpl_error_code cpl_table_wrap_float_complex(cpl_table *table, float complex *data, const char *name)
Create in table a new float complex column obtained from existing data.
Definition: cpl_table.c:2129
cpl_vector_unwrap
void * cpl_vector_unwrap(cpl_vector *v)
Delete a cpl_vector except the data array.
Definition: cpl_vector.c:248
cpl_framedata_set
cpl_error_code cpl_framedata_set(cpl_framedata *self, const char *tag, cpl_size min_count, cpl_size max_count)
Assign new values to a frame data object.
Definition: cpl_framedata.c:548
CPL_IO_COMPRESS_GZIP
Definition: cpl_io.h:83
cpl_msg_set_domain_on
void cpl_msg_set_domain_on(void)
Attach the domain tag to output messages.
Definition: cpl_msg.c:1297
cpl_array_get_min
double cpl_array_get_min(const cpl_array *array)
Get minimum value in a numerical array.
Definition: cpl_array.c:5085
_cpl_border_mode_
_cpl_border_mode_
These are the supported border modes. For a kernel of width 2n+1, the n left- and rightmost image/mas...
Definition: cpl_filter.h:60
cpl_apertures_get_centroid_y
double cpl_apertures_get_centroid_y(const cpl_apertures *self, cpl_size ind)
Get the Y-centroid of an aperture.
Definition: cpl_apertures.c:382
cpl_image_wrap_float
cpl_image * cpl_image_wrap_float(cpl_size nx, cpl_size ny, float *pixels)
Create a float image using an existing pixel buffer.
Definition: cpl_image_io.c:213
CPL_MATH_PI_2
#define CPL_MATH_PI_2
pi/2
Definition: cpl_math_const.h:115
cpl_stats_get_centroid_y
double cpl_stats_get_centroid_y(const cpl_stats *in)
Get the y centroid position from a cpl_stats object.
Definition: cpl_stats.c:286
cpl_vector_set_size
cpl_error_code cpl_vector_set_size(cpl_vector *in, cpl_size newsize)
Resize the vector.
Definition: cpl_vector.c:763
cpl_frameset
struct _cpl_frameset_ cpl_frameset
The frame set data type.
Definition: cpl_frameset.h:41
cpl_plot_vector
cpl_error_code cpl_plot_vector(const char *pre, const char *options, const char *post, const cpl_vector *vector)
Plot a vector.
Definition: cpl_plot.c:137
cpl_vector_sort
cpl_error_code cpl_vector_sort(cpl_vector *self, cpl_sort_direction dir)
Sort a cpl_vector.
Definition: cpl_vector.c:1243
cpl_plot_columns
cpl_error_code cpl_plot_columns(const char *pre, const char *options, const char *post, const cpl_table *tab, const char **labels, cpl_size nlabels)
Plot severals column of a table.
Definition: cpl_plot.c:1164
cpl_array_get_int
int cpl_array_get_int(const cpl_array *array, cpl_size indx, int *null)
Read a value from an integer array.
Definition: cpl_array.c:2039
cpl_recipeconfig_set_output
int cpl_recipeconfig_set_output(cpl_recipeconfig *self, const char *tag, const char *output)
Add an output frame tag for the given configuration tag.
Definition: cpl_recipeconfig.c:1191
cpl_parameterlist_get_last_const
const cpl_parameter * cpl_parameterlist_get_last_const(const cpl_parameterlist *self)
Get the last parameter in the given list.
Definition: cpl_parameterlist.c:434
cpl_table_fill_column_window_double_complex
cpl_error_code cpl_table_fill_column_window_double_complex(cpl_table *table, const char *name, cpl_size start, cpl_size count, double complex value)
Write a value to a double complex column segment.
Definition: cpl_table.c:7050
cpl_imagelist_collapse_sigclip_create
cpl_image * cpl_imagelist_collapse_sigclip_create(const cpl_imagelist *self, double kappalow, double kappahigh, double keepfrac, cpl_collapse_mode mode, cpl_image *contrib)
Collapse an imagelist with kappa-sigma-clipping rejection.
Definition: cpl_imagelist_basic.c:822
cpl_mask_extract
cpl_mask * cpl_mask_extract(const cpl_mask *in, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Extract a mask from an other one.
Definition: cpl_mask.c:1493
cpl_image_get_data_double_complex_const
const double complex * cpl_image_get_data_double_complex_const(const cpl_image *img)
Get the data as a double complex array.
Definition: cpl_image_io.c:1772
cpl_parameter_get_context
const char * cpl_parameter_get_context(const cpl_parameter *self)
Get the context of a parameter.
Definition: cpl_parameter.c:1951
cpl_table_move_column
cpl_error_code cpl_table_move_column(cpl_table *to_table, const char *name, cpl_table *from_table)
Move a column from a table to another.
Definition: cpl_table.c:7538
CPL_VALUE_NOTFINITE
Definition: cpl_image_bpm.h:77
cpl_parameter_delete
void cpl_parameter_delete(cpl_parameter *self)
Delete a parameter.
Definition: cpl_parameter.c:1338
cpl_propertylist_set_double_complex
cpl_error_code cpl_propertylist_set_double_complex(cpl_propertylist *self, const char *name, double complex value)
Set the value of the given double complex property list entry.
Definition: cpl_propertylist.c:2418
cpl_parameterlist_find_context_const
const cpl_parameter * cpl_parameterlist_find_context_const(const cpl_parameterlist *self, const char *context)
Find a parameter which belongs to the given context in a parameter list.
Definition: cpl_parameterlist.c:741
CPL_ERROR_INCOMPATIBLE_INPUT
Definition: cpl_error.h:414
cpl_mask_wrap
cpl_mask * cpl_mask_wrap(cpl_size nx, cpl_size ny, cpl_binary *data)
Create a cpl_mask from existing data.
Definition: cpl_mask.c:728
cpl_image_duplicate
cpl_image * cpl_image_duplicate(const cpl_image *src)
Copy an image.
Definition: cpl_image_io.c:1885
cpl_propertylist_insert_double
cpl_error_code cpl_propertylist_insert_double(cpl_propertylist *self, const char *here, const char *name, double value)
Insert a double value into a property list at the given position.
Definition: cpl_propertylist.c:3919
cpl_parameterlist_find_tag
cpl_parameter * cpl_parameterlist_find_tag(cpl_parameterlist *self, const char *tag)
Find a parameter with the given tag in a parameter list.
Definition: cpl_parameterlist.c:942
cpl_fits_count_extensions
cpl_size cpl_fits_count_extensions(const char *filename)
Get the number of extensions contained in a FITS file.
Definition: cpl_fits.c:179
cpl_bivector_new
cpl_bivector * cpl_bivector_new(cpl_size n)
Create a new cpl_bivector.
Definition: cpl_bivector.c:92
CPL_FILTER_LINEAR_SCALE
Definition: cpl_filter.h:167
CPL_FITS_START_CACHING
Definition: cpl_fits.h:57
cpl_stats_get_absflux
double cpl_stats_get_absflux(const cpl_stats *in)
Get the absolute flux from a cpl_stats object.
Definition: cpl_stats.c:240
cpl_multiframe_get_size
cpl_size cpl_multiframe_get_size(const cpl_multiframe *self)
Get the size of a multi-frame container object.
Definition: cpl_multiframe.c:4247
CPL_ERROR_FILE_NOT_CREATED
Definition: cpl_error.h:404
_cpl_frame_level_
_cpl_frame_level_
Supported frame processing levels.
Definition: cpl_frame.h:179
cpl_imagelist_power
cpl_error_code cpl_imagelist_power(cpl_imagelist *imlist, double exponent)
Compute the elementwise power of each image in the imlist.
Definition: cpl_imagelist_basic.c:430
_cpl_error_code_
_cpl_error_code_
Available error codes.
Definition: cpl_error.h:387
cpl_bivector_wrap_vectors
cpl_bivector * cpl_bivector_wrap_vectors(cpl_vector *x, cpl_vector *y)
Create a new cpl_bivector from two cpl_vectors.
Definition: cpl_bivector.c:127
cpl_vector_wrap
cpl_vector * cpl_vector_wrap(cpl_size n, double *data)
Create a cpl_vector from existing data.
Definition: cpl_vector.c:164
cpl_fft_image
cpl_error_code cpl_fft_image(cpl_image *self, const cpl_image *other, cpl_fft_mode mode)
Perform a FFT operation on an image.
Definition: cpl_fft.c:97
cpl_vector_divide
cpl_error_code cpl_vector_divide(cpl_vector *v1, const cpl_vector *v2)
Divide two vectors element-wise.
Definition: cpl_vector.c:1067
cpl_table_get_data_array_const
const cpl_array ** cpl_table_get_data_array_const(const cpl_table *table, const char *name)
Get a pointer to array column data.
Definition: cpl_table.c:4464
cpl_frame_set_group
cpl_error_code cpl_frame_set_group(cpl_frame *self, cpl_frame_group group)
Set the group attribute of a frame.
Definition: cpl_frame.c:756
cpl_multiframe
struct _cpl_multiframe_ cpl_multiframe
The opaque multi-frame data type.
Definition: cpl_multiframe.h:157
cpl_parameter_get_range_min_double
double cpl_parameter_get_range_min_double(const cpl_parameter *self)
Get the minimum value of a double range parameter.
Definition: cpl_parameter.c:2962
cpl_bivector_get_x
cpl_vector * cpl_bivector_get_x(cpl_bivector *in)
Get a pointer to the x vector of the cpl_bivector.
Definition: cpl_bivector.c:404
CPL_STATS_ALL
Definition: cpl_stats.h:122
cpl_mask_get
cpl_binary cpl_mask_get(const cpl_mask *self, cpl_size xpos, cpl_size ypos)
Get the value of a mask at a given position.
Definition: cpl_mask.c:861
cpl_propertylist_is_empty
int cpl_propertylist_is_empty(const cpl_propertylist *self)
Check whether a property list is empty.
Definition: cpl_propertylist.c:1526
CPL_VALUE_PLUSINF
Definition: cpl_image_bpm.h:57
cpl_matrix_erase_rows
cpl_error_code cpl_matrix_erase_rows(cpl_matrix *matrix, cpl_size start, cpl_size count)
Delete rows from a matrix.
Definition: cpl_matrix.c:2907
cpl_array_copy_data_double_complex
cpl_error_code cpl_array_copy_data_double_complex(cpl_array *array, const double complex *data)
Copy existing data to a double complex array.
Definition: cpl_array.c:869
cpl_polynomial_multiply
cpl_error_code cpl_polynomial_multiply(cpl_polynomial *self, const cpl_polynomial *first, const cpl_polynomial *second)
Multiply two polynomials of the same dimension.
Definition: cpl_polynomial.c:1873
cpl_array_new
cpl_array * cpl_array_new(cpl_size length, cpl_type type)
Create a new array of given type.
Definition: cpl_array.c:81
cpl_imagelist_collapse_minmax_create
cpl_image * cpl_imagelist_collapse_minmax_create(const cpl_imagelist *self, cpl_size nlow, cpl_size nhigh)
Average with rejection an imagelist to a single image.
Definition: cpl_imagelist_basic.c:696
cpl_vector_correlate
cpl_size cpl_vector_correlate(cpl_vector *vxc, const cpl_vector *v1, const cpl_vector *v2)
Cross-correlation of two vectors.
Definition: cpl_vector.c:1721
cpl_table_get_column_mean
double cpl_table_get_column_mean(const cpl_table *table, const char *name)
Compute the mean value of a numerical column.
Definition: cpl_table.c:9665
cpl_stats_dump
cpl_error_code cpl_stats_dump(const cpl_stats *self, cpl_stats_mode mode, FILE *stream)
Dump a cpl_stats object.
Definition: cpl_stats.c:903
cpl_image_extract_subsample
cpl_image * cpl_image_extract_subsample(const cpl_image *image, cpl_size xstep, cpl_size ystep)
Sub-sample an image.
Definition: cpl_image_resample.c:451
cpl_table_count_invalid
cpl_size cpl_table_count_invalid(const cpl_table *table, const char *name)
Count number of invalid values in a table column.
Definition: cpl_table.c:7473
cpl_propertylist_get_float_complex
float complex cpl_propertylist_get_float_complex(const cpl_propertylist *self, const char *name)
Get the float complex value of the given property list entry.
Definition: cpl_propertylist.c:3376
cpl_table_fill_column_window_float
cpl_error_code cpl_table_fill_column_window_float(cpl_table *table, const char *name, cpl_size start, cpl_size count, float value)
Write a value to a float column segment.
Definition: cpl_table.c:6844
cpl_propertylist_insert_property
cpl_error_code cpl_propertylist_insert_property(cpl_propertylist *self, const char *here, const cpl_property *property)
Insert a property into a property list at the given position.
Definition: cpl_propertylist.c:8325
CPL_IO_DEFAULT
Definition: cpl_io.h:103
cpl_matrix_sort_rows
cpl_error_code cpl_matrix_sort_rows(cpl_matrix *matrix, int mode)
Sort matrix by rows.
Definition: cpl_matrix.c:2459
cpl_array_get_minpos
cpl_error_code cpl_array_get_minpos(const cpl_array *array, cpl_size *indx)
Get position of minimum in a numerical array.
Definition: cpl_array.c:5201
cpl_apertures_get_bottom
cpl_size cpl_apertures_get_bottom(const cpl_apertures *self, cpl_size ind)
Get the bottommost y position in an aperture.
Definition: cpl_apertures.c:630
cpl_propertylist_set_bool
cpl_error_code cpl_propertylist_set_bool(cpl_propertylist *self, const char *name, int value)
Set the value of the given boolean property list entry.
Definition: cpl_propertylist.c:1933
cpl_matrix_get
double cpl_matrix_get(const cpl_matrix *matrix, cpl_size row, cpl_size column)
Get the value of a matrix element.
Definition: cpl_matrix.c:760
cpl_apertures_get_pos_x
double cpl_apertures_get_pos_x(const cpl_apertures *self, cpl_size ind)
Get the average X-position of an aperture.
Definition: cpl_apertures.c:279
cpl_vector_set
cpl_error_code cpl_vector_set(cpl_vector *in, cpl_size idx, double value)
Set an element of the vector.
Definition: cpl_vector.c:919
cpl_plugin_get_type
unsigned long cpl_plugin_get_type(const cpl_plugin *self)
Get the type of a plugin.
Definition: cpl_plugin.c:613
cpl_vector_filter_median_create
cpl_vector * cpl_vector_filter_median_create(const cpl_vector *self, cpl_size hw)
Apply a 1D median filter of given half-width to a cpl_vector.
Definition: cpl_vector.c:2254
cpl_matrix_append
cpl_error_code cpl_matrix_append(cpl_matrix *matrix1, const cpl_matrix *matrix2, int mode)
Append a matrix to another.
Definition: cpl_matrix.c:3231
CPL_FRAME_GROUP_NONE
Definition: cpl_frame.h:136
cpl_table_abs_column
cpl_error_code cpl_table_abs_column(cpl_table *table, const char *name)
Compute the absolute value of column values.
Definition: cpl_table.c:9101
cpl_array_fill_window_float
cpl_error_code cpl_array_fill_window_float(cpl_array *array, cpl_size start, cpl_size count, float value)
Write the same value within a float array segment.
Definition: cpl_array.c:3094
cpl_propertylist_append_float_complex
cpl_error_code cpl_propertylist_append_float_complex(cpl_propertylist *self, const char *name, float complex value)
Append a float complex value to a property list.
Definition: cpl_propertylist.c:5679
CPL_FRAME_TYPE_NONE
Definition: cpl_frame.h:72
cpl_pluginlist_append
cpl_error_code cpl_pluginlist_append(cpl_pluginlist *self, const cpl_plugin *plugin)
Append a plugin to a plugin list.
Definition: cpl_pluginlist.c:209
cpl_framedata_get_max_count
cpl_size cpl_framedata_get_max_count(const cpl_framedata *self)
Get the maximum number of frames.
Definition: cpl_framedata.c:347
cpl_propertylist_get_double
double cpl_propertylist_get_double(const cpl_propertylist *self, const char *name)
Get the double value of the given property list entry.
Definition: cpl_propertylist.c:3202
cpl_mask_threshold_image
cpl_error_code cpl_mask_threshold_image(cpl_mask *self, const cpl_image *image, double lo_cut, double hi_cut, cpl_binary inval)
Select parts of an image with provided thresholds.
Definition: cpl_mask.c:2249
cpl_table_set_double_complex
cpl_error_code cpl_table_set_double_complex(cpl_table *table, const char *name, cpl_size row, double complex value)
Write a value to a double complex table column element.
Definition: cpl_table.c:6243
cpl_image_fill_rejected
cpl_error_code cpl_image_fill_rejected(cpl_image *im, double a)
Set the bad pixels in an image to a fixed value.
Definition: cpl_image_io.c:2137
_cpl_parameter_mode_
_cpl_parameter_mode_
Supported parameter modes.
Definition: cpl_parameter.h:41
cpl_plugin_get_info
int cpl_plugin_get_info(cpl_pluginlist *cpl_plugin_list)
Append the plugin information to the given list.
cpl_image_abs_create
cpl_image * cpl_image_abs_create(const cpl_image *image_in)
Take the absolute value of an image.
Definition: cpl_image_basic.c:2246
cpl_table_load_window
cpl_table * cpl_table_load_window(const char *filename, int xtnum, int check_nulls, const cpl_array *selcol, cpl_size firstrow, cpl_size nrow)
Load part of a FITS table extension into a new cpl_table.
Definition: cpl_table.c:22852
cpl_stats_get_median_dev
double cpl_stats_get_median_dev(const cpl_stats *in)
Get the mean of the absolute median deviation from a cpl_stats object.
Definition: cpl_stats.c:180
cpl_image_abs
cpl_error_code cpl_image_abs(cpl_image *image)
Take the absolute value of an image.
Definition: cpl_image_basic.c:2209
cpl_dfs_save_table
cpl_error_code cpl_dfs_save_table(cpl_frameset *allframes, cpl_propertylist *header, const cpl_parameterlist *parlist, const cpl_frameset *usedframes, const cpl_frame *inherit, const cpl_table *table, const cpl_propertylist *tablelist, const char *recipe, const cpl_propertylist *applist, const char *remregexp, const char *pipe_id, const char *filename)
Save a table as a DFS-compliant pipeline product.
Definition: cpl_dfs.c:334
CPL_MAX
#define CPL_MAX(first, second)
Return the maximum of two values.
Definition: cpl_math_const.h:293
cpl_matrix_extract
cpl_matrix * cpl_matrix_extract(const cpl_matrix *matrix, cpl_size start_row, cpl_size start_column, cpl_size step_row, cpl_size step_column, cpl_size nrows, cpl_size ncolumns)
Extract a submatrix from a matrix.
Definition: cpl_matrix.c:928
cpl_propertylist_erase
int cpl_propertylist_erase(cpl_propertylist *self, const char *name)
Erase the given property from a property list.
Definition: cpl_propertylist.c:5885
cpl_array_get_data_long_long
long long * cpl_array_get_data_long_long(cpl_array *array)
Get a pointer to long long integer array data.
Definition: cpl_array.c:1362
cpl_table_fill_invalid_float_complex
cpl_error_code cpl_table_fill_invalid_float_complex(cpl_table *table, const char *name, float complex code)
Write a numerical value to invalid float complex column elements.
Definition: cpl_table.c:11294
cpl_image_multiply_scalar_create
cpl_image * cpl_image_multiply_scalar_create(const cpl_image *image, double factor)
Create a new image by multiplication of a scalar and an image.
Definition: cpl_image_basic.c:2008
cpl_plugin_set_author
cpl_error_code cpl_plugin_set_author(cpl_plugin *self, const char *author)
Set the name of the plugin author.
Definition: cpl_plugin.c:980
CPL_TYPE_BITMASK
Definition: cpl_type.h:157
cpl_array_fill_window_double
cpl_error_code cpl_array_fill_window_double(cpl_array *array, cpl_size start, cpl_size count, double value)
Write the same value within a double array segment.
Definition: cpl_array.c:3177
cpl_io_type
enum _cpl_io_type_ cpl_io_type
The file I/O modes.
Definition: cpl_io.h:113
cpl_property
struct _cpl_property_ cpl_property
The opaque property data type.
Definition: cpl_property.h:36
cpl_vector_load
cpl_vector * cpl_vector_load(const char *filename, cpl_size xtnum)
Load a list of values from a FITS file.
Definition: cpl_vector.c:410
cpl_polynomial_eval
double cpl_polynomial_eval(const cpl_polynomial *self, const cpl_vector *x)
Evaluate the polynomial at the given point using Horners rule.
Definition: cpl_polynomial.c:933
cpl_table_save
cpl_error_code cpl_table_save(const cpl_table *table, const cpl_propertylist *pheader, const cpl_propertylist *header, const char *filename, unsigned mode)
Save a cpl_table to a FITS file.
Definition: cpl_table.c:28912
cpl_array_copy_data_cplsize
cpl_error_code cpl_array_copy_data_cplsize(cpl_array *array, const cpl_size *data)
Copy existing data to a cpl_size array.
Definition: cpl_array.c:751
cpl_propertylist_erase_regexp
int cpl_propertylist_erase_regexp(cpl_propertylist *self, const char *regexp, int invert)
Erase all properties with name matching a given regular expression.
Definition: cpl_propertylist.c:5951
cpl_array_copy_data
cpl_error_code cpl_array_copy_data(cpl_array *array, const double *data)
Copy buffer of numerical data to a numerical array.
Definition: cpl_array.c:577
cpl_array_divide_scalar
cpl_error_code cpl_array_divide_scalar(cpl_array *array, double value)
Divide a numerical array by a constant value.
Definition: cpl_array.c:4217
cpl_parameterlist_find_tag_const
const cpl_parameter * cpl_parameterlist_find_tag_const(const cpl_parameterlist *self, const char *tag)
Find a parameter with the given tag in a parameter list.
Definition: cpl_parameterlist.c:866
CPL_ERROR_FILE_ALREADY_OPEN
Definition: cpl_error.h:402
cpl_wcs_get_image_naxis
int cpl_wcs_get_image_naxis(const cpl_wcs *wcs)
Accessor to get the dimensionality of the image associated with a WCS.
Definition: cpl_wcs.c:1125
cpl_sprintf
char * cpl_sprintf(const char *format,...)
Create a string and fill it in an sprintf()-like manner.
Definition: cpl_memory.c:382
CPL_ERROR_NO_WCS
Definition: cpl_error.h:432
cpl_stats_get_sqflux
double cpl_stats_get_sqflux(const cpl_stats *in)
Get the sum of the squared values from a cpl_stats object.
Definition: cpl_stats.c:255
cpl_array_get_mean
double cpl_array_get_mean(const cpl_array *array)
Compute the mean value of a numeric array.
Definition: cpl_array.c:4800
cpl_image_fill_gaussian
cpl_error_code cpl_image_fill_gaussian(cpl_image *ima, double xcen, double ycen, double norm, double sig_x, double sig_y)
Generate an image from a 2d gaussian function.
Definition: cpl_image_gen.c:159
cpl_propertylist_insert_float_complex
cpl_error_code cpl_propertylist_insert_float_complex(cpl_propertylist *self, const char *here, const char *name, float complex value)
Insert a float complex value into a property list at the given position.
Definition: cpl_propertylist.c:4043
cpl_array_power
cpl_error_code cpl_array_power(cpl_array *array, double exponent)
Compute the power of numerical array elements.
Definition: cpl_array.c:4318
cpl_regex_negate
void cpl_regex_negate(cpl_regex *self)
Toggle the negation state of a regular expression filter.
Definition: cpl_multiframe.c:238
cpl_array_get
double cpl_array_get(const cpl_array *array, cpl_size indx, int *null)
Read a value from a numerical array.
Definition: cpl_array.c:1946
cpl_matrix_subtract_scalar
cpl_error_code cpl_matrix_subtract_scalar(cpl_matrix *matrix, double value)
Subtract a scalar to a matrix.
Definition: cpl_matrix.c:3580
cpl_imagelist_load_frameset
cpl_imagelist * cpl_imagelist_load_frameset(const cpl_frameset *fset, cpl_type im_type, cpl_size pnum, cpl_size xtnum)
Load an imagelist from a frameset.
Definition: cpl_frameset_io.c:80
cpl_propertylist_append_property
cpl_error_code cpl_propertylist_append_property(cpl_propertylist *self, const cpl_property *property)
Append a property to a property list.
Definition: cpl_propertylist.c:8239
cpl_matrix_add
cpl_error_code cpl_matrix_add(cpl_matrix *matrix1, const cpl_matrix *matrix2)
Add two matrices.
Definition: cpl_matrix.c:3298
cpl_table_set_float_complex
cpl_error_code cpl_table_set_float_complex(cpl_table *table, const char *name, cpl_size row, float complex value)
Write a value to a float complex table column element.
Definition: cpl_table.c:6118
cpl_multiframe_append_datagroup
cpl_error_code cpl_multiframe_append_datagroup(cpl_multiframe *self, const char *id, const cpl_frame *frame, cpl_size nsets, const char **names, const cpl_regex **filter1, const cpl_regex **filter2, const char **properties, unsigned int flags)
Adds a group of dataset references given by name to a multi-frame container object.
Definition: cpl_multiframe.c:4636
cpl_vector_filter_lowpass_create
cpl_vector * cpl_vector_filter_lowpass_create(const cpl_vector *v, cpl_lowpass filter_type, cpl_size hw)
Apply a low-pass filter to a cpl_vector.
Definition: cpl_vector.c:2161
_cpl_plugin_::description
const char * description
Plugin's detailed description.
Definition: cpl_plugin.h:178
cpl_array_get_data_float_complex
float complex * cpl_array_get_data_float_complex(cpl_array *array)
Get a pointer to float complex array data.
Definition: cpl_array.c:1581
cpl_vector_get_maxpos
cpl_size cpl_vector_get_maxpos(const cpl_vector *self)
Get the index of the maximum element of the cpl_vector.
Definition: cpl_vector.c:1472
cpl_parameterlist_append
cpl_error_code cpl_parameterlist_append(cpl_parameterlist *self, cpl_parameter *parameter)
Append a parameter to a parameter list.
Definition: cpl_parameterlist.c:189
cpl_table_add_scalar_complex
cpl_error_code cpl_table_add_scalar_complex(cpl_table *table, const char *name, double complex value)
Add a constant complex value to a numerical or complex column.
Definition: cpl_table.c:8739
cpl_image_get_flux
double cpl_image_get_flux(const cpl_image *image)
Computes the sum of pixel values over an image.
Definition: cpl_image_stats.c:355
cpl_image_get_sqflux
double cpl_image_get_sqflux(const cpl_image *image)
Computes the sum of squared values over an image.
Definition: cpl_image_stats.c:429
cpl_msg_set_domain
void cpl_msg_set_domain(const char *name)
Set the domain name.
Definition: cpl_msg.c:1403
cpl_table_get_float
float cpl_table_get_float(const cpl_table *table, const char *name, cpl_size row, int *null)
Read a value from a float column.
Definition: cpl_table.c:5342
CPL_FILTER_STDEV_FAST
Definition: cpl_filter.h:246
cpl_frameset_erase
cpl_size cpl_frameset_erase(cpl_frameset *self, const char *tag)
Erase all frames with the given tag from a frame set.
Definition: cpl_frameset.c:1139
cpl_mask_save
cpl_error_code cpl_mask_save(const cpl_mask *self, const char *filename, const cpl_propertylist *pl, unsigned mode)
Save a mask to a FITS file.
Definition: cpl_mask.c:2373
cpl_stats_get_median
double cpl_stats_get_median(const cpl_stats *in)
Get the median from a cpl_stats object.
Definition: cpl_stats.c:165
cpl_msg_init
cpl_error_code cpl_msg_init(void)
Initialise the messaging system.
Definition: cpl_msg.c:743
cpl_recipeconfig_set_outputs
int cpl_recipeconfig_set_outputs(cpl_recipeconfig *self, const char *tag, const char **data)
Set the output configuration for a given tag.
Definition: cpl_recipeconfig.c:1066
cpl_image_get_absflux
double cpl_image_get_absflux(const cpl_image *image)
Computes the sum of absolute values over an image.
Definition: cpl_image_stats.c:415
cpl_propertylist_prepend_double_complex
cpl_error_code cpl_propertylist_prepend_double_complex(cpl_propertylist *self, const char *name, double complex value)
Prepend a double complex value to a property list.
Definition: cpl_propertylist.c:5213
cpl_image_filter_morpho
cpl_image * cpl_image_filter_morpho(const cpl_image *in, const cpl_matrix *ker)
Filter an image in spatial domain with a morpho kernel.
Definition: cpl_image_filter.c:1269
cpl_vector_find
cpl_size cpl_vector_find(const cpl_vector *sorted, double key)
In a sorted vector find the element closest to the given value.
Definition: cpl_vector.c:1351
cpl_recipeconfig_get_tags
char ** cpl_recipeconfig_get_tags(const cpl_recipeconfig *self)
Get the list of supported configuration tags.
Definition: cpl_recipeconfig.c:389
cpl_array_get_data_float_const
const float * cpl_array_get_data_float_const(const cpl_array *array)
Get a pointer to constant float array data.
Definition: cpl_array.c:1544
CPL_ERROR_DATA_NOT_FOUND
Definition: cpl_error.h:408
cpl_table_get
double cpl_table_get(const cpl_table *table, const char *name, cpl_size row, int *null)
Read a value from a numerical column.
Definition: cpl_table.c:4959
CPL_TYPE_STRING
Definition: cpl_type.h:163
_cpl_recipe_::frames
cpl_frameset * frames
Pointer to a frame set, or NULL if no frame set is available.
Definition: cpl_recipe.h:109
cpl_vsprintf
char * cpl_vsprintf(const char *format, va_list arglist)
Create a string and fill it in an vsprintf()-like manner.
Definition: cpl_memory.c:297
CPL_ERROR_ASSIGNING_STREAM
Definition: cpl_error.h:396
cpl_parameter_get_default_int
int cpl_parameter_get_default_int(const cpl_parameter *self)
Get the default value of the given integer parameter.
Definition: cpl_parameter.c:2408
cpl_table_dump_structure
void cpl_table_dump_structure(const cpl_table *table, FILE *stream)
Describe the structure and the contents of a table.
Definition: cpl_table.c:10419
cpl_imagelist_divide
cpl_error_code cpl_imagelist_divide(cpl_imagelist *in1, const cpl_imagelist *in2)
Divide two image lists, the first one is replaced by the result.
Definition: cpl_imagelist_basic.c:153
cpl_error_get_function
const char * cpl_error_get_function(void)
Get the function name where the last CPL error occurred.
Definition: cpl_error.c:483
CPL_STATS_ABSFLUX
Definition: cpl_stats.h:87
cpl_frame_type
enum _cpl_frame_type_ cpl_frame_type
The frame type data type.
Definition: cpl_frame.h:118
cpl_array_insert_window
cpl_error_code cpl_array_insert_window(cpl_array *array, cpl_size start, cpl_size count)
Insert a segment of new elements into array.
Definition: cpl_array.c:3562
cpl_array_has_invalid
int cpl_array_has_invalid(const cpl_array *array)
Check if an array contains at least one invalid element.
Definition: cpl_array.c:1072
cpl_image_wrap_double
cpl_image * cpl_image_wrap_double(cpl_size nx, cpl_size ny, double *pixels)
Create a double image using an existing pixel buffer.
Definition: cpl_image_io.c:187
cpl_table_get_long
long cpl_table_get_long(const cpl_table *table, const char *name, cpl_size row, int *null)
Read a value from a long column.
Definition: cpl_table.c:5210
cpl_propertylist_update_float_complex
cpl_error_code cpl_propertylist_update_float_complex(cpl_propertylist *self, const char *name, float complex value)
Update a property list with a float complex value.
Definition: cpl_propertylist.c:6769
cpl_matrix_resize
cpl_error_code cpl_matrix_resize(cpl_matrix *matrix, cpl_size top, cpl_size bottom, cpl_size left, cpl_size right)
Reframe a matrix.
Definition: cpl_matrix.c:3098
cpl_propertylist_update_double
cpl_error_code cpl_propertylist_update_double(cpl_propertylist *self, const char *name, double value)
Update a property list with a double value.
Definition: cpl_propertylist.c:6601
cpl_image_set
cpl_error_code cpl_image_set(cpl_image *image, cpl_size xpos, cpl_size ypos, double value)
Set the pixel at the given position to the given value.
Definition: cpl_image_io.c:1426
cpl_parameter_get_string
const char * cpl_parameter_get_string(const cpl_parameter *self)
Get the value of the given string parameter.
Definition: cpl_parameter.c:2293
cpl_plot_column
cpl_error_code cpl_plot_column(const char *pre, const char *options, const char *post, const cpl_table *tab, const char *xlab, const char *ylab)
Plot a column of a table.
Definition: cpl_plot.c:1015
cpl_frame_level
enum _cpl_frame_level_ cpl_frame_level
The frame level data type.
Definition: cpl_frame.h:219
cpl_flux_get_noise_window
cpl_error_code cpl_flux_get_noise_window(const cpl_image *diff, const cpl_size *zone_def, cpl_size ron_hsize, cpl_size ron_nsamp, double *noise, double *error)
Compute the readout noise in a rectangle.
Definition: cpl_detector.c:171
cpl_get_description
const char * cpl_get_description(unsigned self)
Create a string of version numbers of CPL and its libraries.
Definition: cpl_init.c:154
cpl_array_get_complex
double complex cpl_array_get_complex(const cpl_array *array, cpl_size indx, int *null)
Read a value from a complex array.
Definition: cpl_array.c:1992
cpl_matrix_get_max
double cpl_matrix_get_max(const cpl_matrix *matrix)
Find the maximum value of matrix elements.
Definition: cpl_matrix.c:5004
cpl_matrix_erase_columns
cpl_error_code cpl_matrix_erase_columns(cpl_matrix *matrix, cpl_size start, cpl_size count)
Delete columns from a matrix.
Definition: cpl_matrix.c:2998
cpl_image_fft
cpl_error_code cpl_image_fft(cpl_image *img_real, cpl_image *img_imag, unsigned mode)
Fast Fourier Transform a square, power-of-two sized image.
Definition: cpl_image_basic.c:3316
cpl_image_get_interpolated
double cpl_image_get_interpolated(const cpl_image *source, double xpos, double ypos, const cpl_vector *xprofile, double xradius, const cpl_vector *yprofile, double yradius, double *pconfid)
Interpolate a pixel.
Definition: cpl_image_resample.c:676
cpl_mask_extract_subsample
cpl_mask * cpl_mask_extract_subsample(const cpl_mask *in, cpl_size xstep, cpl_size ystep)
Subsample a mask.
Definition: cpl_mask.c:1889
cpl_parameterlist_find_type
cpl_parameter * cpl_parameterlist_find_type(cpl_parameterlist *self, cpl_type type)
Find a parameter of the given type in a parameter list.
Definition: cpl_parameterlist.c:697
cpl_imagelist_is_uniform
int cpl_imagelist_is_uniform(const cpl_imagelist *imlist)
Determine if an imagelist contains images of equal size and type.
Definition: cpl_imagelist_io.c:762
cpl_table_where_selected
cpl_array * cpl_table_where_selected(const cpl_table *table)
Get array of indexes to selected table rows.
Definition: cpl_table.c:21153
cpl_stats_get_mean
double cpl_stats_get_mean(const cpl_stats *in)
Get the mean from a cpl_stats object.
Definition: cpl_stats.c:150
cpl_array_set_double_complex
cpl_error_code cpl_array_set_double_complex(cpl_array *array, cpl_size indx, double complex value)
Write a value to a double complex array element.
Definition: cpl_array.c:2747
cpl_propertylist_get_long_long
long long cpl_propertylist_get_long_long(const cpl_propertylist *self, const char *name)
Get the long long value of the given property list entry.
Definition: cpl_propertylist.c:3022
cpl_wcs_get_ctype
const cpl_array * cpl_wcs_get_ctype(const cpl_wcs *wcs)
Accessor to get the CTYPE vector for a WCS.
Definition: cpl_wcs.c:1308
cpl_vector_exponential
cpl_error_code cpl_vector_exponential(cpl_vector *v, double base)
Compute the exponential of all vector elements.
Definition: cpl_vector.c:2482
cpl_frameset_iterator_duplicate
cpl_frameset_iterator * cpl_frameset_iterator_duplicate(const cpl_frameset_iterator *other)
Create a frame set iterator from an existing frame set iterator.
Definition: cpl_frameset.c:2143
cpl_table_get_column_mean_complex
double complex cpl_table_get_column_mean_complex(const cpl_table *table, const char *name)
Compute the mean value of a numerical or complex column.
Definition: cpl_table.c:9725
cpl_table_or_selected_long
cpl_size cpl_table_or_selected_long(cpl_table *table, const char *name, cpl_table_select_operator operator, long value)
Select from unselected table rows, by comparing long column values with a constant.
Definition: cpl_table.c:12029
cpl_propertylist_get_comment
const char * cpl_propertylist_get_comment(const cpl_propertylist *self, const char *name)
Get the comment of the given property list entry.
Definition: cpl_propertylist.c:2597
cpl_table_subtract_scalar
cpl_error_code cpl_table_subtract_scalar(cpl_table *table, const char *name, double value)
Subtract a constant value from a numerical or complex column.
Definition: cpl_table.c:8787
cpl_wlcalib_slitmodel_set_wslit
cpl_error_code cpl_wlcalib_slitmodel_set_wslit(cpl_wlcalib_slitmodel *self, double value)
Set the slit width to be used by the spectrum filler.
Definition: cpl_wlcalib.c:273
cpl_regex_is_negated
int cpl_regex_is_negated(const cpl_regex *self)
Test whether a regular expression filter is negated.
Definition: cpl_multiframe.c:217
cpl_apertures_get_maxpos_y
cpl_size cpl_apertures_get_maxpos_y(const cpl_apertures *self, cpl_size ind)
Get the Y-position of the aperture maximum value.
Definition: cpl_apertures.c:426
cpl_matrix_fill_diagonal
cpl_error_code cpl_matrix_fill_diagonal(cpl_matrix *matrix, double value, cpl_size diagonal)
Write a given value to all elements of a given matrix diagonal.
Definition: cpl_matrix.c:1368
_cpl_frame_type_
_cpl_frame_type_
Supported frame types.
Definition: cpl_frame.h:66
cpl_array_multiply_scalar_complex
cpl_error_code cpl_array_multiply_scalar_complex(cpl_array *array, double complex value)
Multiply a complex array by a constant complex value.
Definition: cpl_array.c:4165
cpl_bivector_read
cpl_bivector * cpl_bivector_read(const char *filename)
Read a list of values from an ASCII file and create a cpl_bivector.
Definition: cpl_bivector.c:300
cpl_table_set_complex
cpl_error_code cpl_table_set_complex(cpl_table *table, const char *name, cpl_size row, double complex value)
Write a complex value to a complex numerical table column element.
Definition: cpl_table.c:5808
cpl_calloc
void * cpl_calloc(size_t natoms, size_t nbytes)
Allocate memory for natoms elements of size size.
Definition: cpl_memory.c:157
cpl_array_copy_data_string
cpl_error_code cpl_array_copy_data_string(cpl_array *array, const char **data)
Copy existing data to a string array.
Definition: cpl_array.c:904
cpl_matrix_swap_rowcolumn
cpl_error_code cpl_matrix_swap_rowcolumn(cpl_matrix *matrix, cpl_size row)
Swap a matrix column with a matrix row.
Definition: cpl_matrix.c:2260
cpl_polynomial_eval_1d
double cpl_polynomial_eval_1d(const cpl_polynomial *self, double x, double *pd)
Evaluate a univariate (1D) polynomial using Horners rule.
Definition: cpl_polynomial.c:1089
cpl_table_and_selected_float_complex
cpl_size cpl_table_and_selected_float_complex(cpl_table *table, const char *name, cpl_table_select_operator operator, float complex value)
Select from selected table rows, by comparing float complex column values with a complex constant.
Definition: cpl_table.c:12789
cpl_array_wrap_double
cpl_array * cpl_array_wrap_double(double *data, cpl_size length)
Create a new double array from existing data.
Definition: cpl_array.c:465
cpl_table_set_array
cpl_error_code cpl_table_set_array(cpl_table *table, const char *name, cpl_size row, const cpl_array *array)
Write an array to an array table column element.
Definition: cpl_table.c:6372
cpl_multiframe_append_dataset
cpl_error_code cpl_multiframe_append_dataset(cpl_multiframe *self, const char *id, const cpl_frame *frame, const char *name, const cpl_regex *filter1, const cpl_regex *filter2, unsigned int flags)
Adds a dataset reference given by name to a multi-frame container object.
Definition: cpl_multiframe.c:4415
CPL_FRAME_TYPE_MATRIX
Definition: cpl_frame.h:86
cpl_property_get_float
float cpl_property_get_float(const cpl_property *self)
Get the value of a float property.
Definition: cpl_property.c:2113
cpl_table_and_selected
cpl_size cpl_table_and_selected(cpl_table *table, const char *name1, cpl_table_select_operator operator, const char *name2)
Select from selected table rows, by comparing the values of two numerical columns.
Definition: cpl_table.c:14746
cpl_vector_get_mean
double cpl_vector_get_mean(const cpl_vector *v)
Compute the mean value of vector elements.
Definition: cpl_vector.c:1561
cpl_version_get_interface_age
unsigned int cpl_version_get_interface_age(void)
Get the library's interface age.
Definition: cpl_version.c:111
cpl_table_set_column_invalid
cpl_error_code cpl_table_set_column_invalid(cpl_table *table, const char *name, cpl_size start, cpl_size count)
Invalidate a column segment.
Definition: cpl_table.c:7260
CPL_MATH_SQRT2
#define CPL_MATH_SQRT2
The square root of 2.
Definition: cpl_math_const.h:178
cpl_propertylist_update_string
cpl_error_code cpl_propertylist_update_string(cpl_propertylist *self, const char *name, const char *value)
Update a property list with a string value.
Definition: cpl_propertylist.c:6684
cpl_apertures_extract
cpl_apertures * cpl_apertures_extract(const cpl_image *self, const cpl_vector *sigmas, cpl_size *pisigma)
Simple detection of apertures in an image.
Definition: cpl_apertures.c:1088
_cpl_regex_syntax_option_
_cpl_regex_syntax_option_
Definition: cpl_multiframe.h:38
cpl_matrix_exponential
cpl_error_code cpl_matrix_exponential(cpl_matrix *matrix, double base)
Compute the exponential of matrix elements.
Definition: cpl_matrix.c:3807
cpl_stats_get_min_y
cpl_size cpl_stats_get_min_y(const cpl_stats *in)
Get the minimum y position from a cpl_stats object.
Definition: cpl_stats.c:322
cpl_table_copy_data_string
cpl_error_code cpl_table_copy_data_string(cpl_table *table, const char *name, const char **data)
Copy existing data to a table string column.
Definition: cpl_table.c:2793
cpl_dfs_setup_product_header
cpl_error_code cpl_dfs_setup_product_header(cpl_propertylist *header, const cpl_frame *product_frame, const cpl_frameset *framelist, const cpl_parameterlist *parlist, const char *recid, const char *pipeline_id, const char *dictionary_id, const cpl_frame *inherit_frame)
Add product keywords to a pipeline product property list.
Definition: cpl_dfs.c:547
cpl_frameset_new
cpl_frameset * cpl_frameset_new(void)
Create a new, empty frame set.
Definition: cpl_frameset.c:442
cpl_table_or_selected_string
cpl_size cpl_table_or_selected_string(cpl_table *table, const char *name, cpl_table_select_operator operator, const char *string)
Select from unselected table rows, by comparing column values with a constant.
Definition: cpl_table.c:14106
cpl_table_subtract_scalar_complex
cpl_error_code cpl_table_subtract_scalar_complex(cpl_table *table, const char *name, double complex value)
Subtract a constant complex value from a numerical or complex column.
Definition: cpl_table.c:8835
cpl_imagelist_dump_window
cpl_error_code cpl_imagelist_dump_window(const cpl_imagelist *self, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, FILE *stream)
Dump pixel values of images in a CPL imagelist.
Definition: cpl_imagelist_io.c:843
cpl_array_extract_imag
cpl_array * cpl_array_extract_imag(const cpl_array *array)
Extract the imaginary value of array elements.
Definition: cpl_array.c:4728
cpl_frame_set_type
cpl_error_code cpl_frame_set_type(cpl_frame *self, cpl_frame_type type)
Set the type of a frame.
Definition: cpl_frame.c:715
cpl_table_and_selected_string
cpl_size cpl_table_and_selected_string(cpl_table *table, const char *name, cpl_table_select_operator operator, const char *string)
Select from selected table rows, by comparing string column values with a character string.
Definition: cpl_table.c:13914
cpl_property_dump
void cpl_property_dump(const cpl_property *property, FILE *stream)
Print a property.
Definition: cpl_property.c:2671
cpl_frameset_iterator_get
cpl_frame * cpl_frameset_iterator_get(cpl_frameset_iterator *self)
Get the frame from the frame set at the current position of the iterator.
Definition: cpl_frameset.c:2534
cpl_frameset_iterator
struct _cpl_frameset_iterator_ cpl_frameset_iterator
The frame set iterator data type.
Definition: cpl_frameset.h:133
cpl_frameset_sort
cpl_error_code cpl_frameset_sort(cpl_frameset *self, cpl_frame_compare_func compare)
Sort a frame set.
Definition: cpl_frameset.c:1425
CPL_VALUE_NAN
Definition: cpl_image_bpm.h:52
cpl_stats_new_from_image
cpl_stats * cpl_stats_new_from_image(const cpl_image *image, cpl_stats_mode mode)
Compute various statistics of an image.
Definition: cpl_stats.c:870
cpl_parameterlist_new
cpl_parameterlist * cpl_parameterlist_new(void)
Create a new parameter list.
Definition: cpl_parameterlist.c:82
CPL_TYPE_DOUBLE_COMPLEX
Definition: cpl_type.h:175
cpl_table_set_long
cpl_error_code cpl_table_set_long(cpl_table *table, const char *name, cpl_size row, long value)
Write a value to an long table column element.
Definition: cpl_table.c:5932
cpl_error_code
enum _cpl_error_code_ cpl_error_code
The cpl_error_code type definition.
Definition: cpl_error.h:445
cpl_multiframe_id_mode
enum _cpl_multiframe_id_mode_ cpl_multiframe_id_mode
The flags indicating the naming scheme to use for multi-frame datasets.
Definition: cpl_multiframe.h:147
cpl_image_flip
cpl_error_code cpl_image_flip(cpl_image *im, int angle)
Flip an image on a given mirror line.
Definition: cpl_image_basic.c:2930
cpl_image_add_scalar_create
cpl_image * cpl_image_add_scalar_create(const cpl_image *image, double addend)
Create a new image by elementwise addition of a scalar to an image.
Definition: cpl_image_basic.c:1952
cpl_test_get_bytes_matrix
size_t cpl_test_get_bytes_matrix(const cpl_matrix *self)
Get the amount of storage [bytes] for the CPL object.
Definition: cpl_test.c:369
cpl_table_fill_column_window_float_complex
cpl_error_code cpl_table_fill_column_window_float_complex(cpl_table *table, const char *name, cpl_size start, cpl_size count, float complex value)
Write a value to a float complex column segment.
Definition: cpl_table.c:6912
cpl_array_is_valid
int cpl_array_is_valid(const cpl_array *array, cpl_size indx)
Check if an array element is valid.
Definition: cpl_array.c:1168
cpl_table_copy_data_long_long
cpl_error_code cpl_table_copy_data_long_long(cpl_table *table, const char *name, const long long *data)
Copy existing data to a table long long column.
Definition: cpl_table.c:2535
cpl_plot_vectors
cpl_error_code cpl_plot_vectors(const char *pre, const char *options, const char *post, const cpl_vector **vectors, cpl_size nvec)
Plot an array of vectors.
Definition: cpl_plot.c:277
cpl_propertylist_load
cpl_propertylist * cpl_propertylist_load(const char *name, cpl_size position)
Create a property list from a file.
Definition: cpl_propertylist.c:7399
cpl_matrix_multiply
cpl_error_code cpl_matrix_multiply(cpl_matrix *matrix1, const cpl_matrix *matrix2)
Multiply two matrices element by element.
Definition: cpl_matrix.c:3421
cpl_table_fill_invalid_double
cpl_error_code cpl_table_fill_invalid_double(cpl_table *table, const char *name, double code)
Write a numerical value to invalid double column elements.
Definition: cpl_table.c:11348
cpl_wcs_get_cunit
const cpl_array * cpl_wcs_get_cunit(const cpl_wcs *wcs)
Accessor to get the CUNIT vector for a WCS.
Definition: cpl_wcs.c:1354
cpl_image_set_complex
cpl_error_code cpl_image_set_complex(cpl_image *image, cpl_size xpos, cpl_size ypos, double complex value)
Set the pixel at the given position to the given complex value.
Definition: cpl_image_io.c:1467
cpl_array_wrap_cplsize
cpl_array * cpl_array_wrap_cplsize(cpl_size *data, cpl_size length)
Create a new cpl_size array from existing data.
Definition: cpl_array.c:363
cpl_table_select_all
cpl_error_code cpl_table_select_all(cpl_table *table)
Select all table rows.
Definition: cpl_table.c:10272
cpl_table_or_selected_window
cpl_size cpl_table_or_selected_window(cpl_table *table, cpl_size start, cpl_size count)
Select from unselected rows only those within a table segment.
Definition: cpl_table.c:14577
cpl_table_get_double
double cpl_table_get_double(const cpl_table *table, const char *name, cpl_size row, int *null)
Read a value from a double column.
Definition: cpl_table.c:5475
cpl_table_or_selected_double_complex
cpl_size cpl_table_or_selected_double_complex(cpl_table *table, const char *name, cpl_table_select_operator operator, double complex value)
Select from unselected table rows, by comparing double complex column values with a complex constant.
Definition: cpl_table.c:13777
CPL_TYPE_FLOAT
Definition: cpl_type.h:127
cpl_propertylist_prepend_property
cpl_error_code cpl_propertylist_prepend_property(cpl_propertylist *self, const cpl_property *property)
Prepend a property to a property list.
Definition: cpl_propertylist.c:8281
CPL_ERROR_ACCESS_OUT_OF_RANGE
Definition: cpl_error.h:410
_cpl_plugin_::email
const char * email
Author's email address.
Definition: cpl_plugin.h:200
_cpl_multiframe_id_mode_
_cpl_multiframe_id_mode_
The flags indicating the naming scheme to use for multi-frame datasets.
Definition: cpl_multiframe.h:111
cpl_frameset_is_empty
int cpl_frameset_is_empty(const cpl_frameset *self)
Check whether a frame set is empty.
Definition: cpl_frameset.c:619
cpl_image_get_absflux_window
double cpl_image_get_absflux_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Computes the sum of absolute values over an image sub-window.
Definition: cpl_image_stats.c:374
cpl_table_insert_window
cpl_error_code cpl_table_insert_window(cpl_table *table, cpl_size start, cpl_size count)
Insert a segment of rows into table data.
Definition: cpl_table.c:4706
cpl_image_collapse_median_create
cpl_image * cpl_image_collapse_median_create(const cpl_image *self, int direction, cpl_size drop_ll, cpl_size drop_ur)
Collapse an image along its rows or columns, with filtering.
Definition: cpl_image_basic.c:2472
cpl_propertylist_get_size
cpl_size cpl_propertylist_get_size(const cpl_propertylist *self)
Get the current size of a property list.
Definition: cpl_propertylist.c:1485
cpl_table_wrap_double_complex
cpl_error_code cpl_table_wrap_double_complex(cpl_table *table, double complex *data, const char *name)
Create in table a new double complex column from existing data.
Definition: cpl_table.c:2238
cpl_recipeconfig_set_inputs
int cpl_recipeconfig_set_inputs(cpl_recipeconfig *self, const char *tag, const cpl_framedata *data)
Set the input configuration for a given tag.
Definition: cpl_recipeconfig.c:737
CPL_REGEX_NOSUBS
Definition: cpl_multiframe.h:53
cpl_pluginlist_prepend
cpl_error_code cpl_pluginlist_prepend(cpl_pluginlist *self, const cpl_plugin *plugin)
Prepend a plugin to a plugin list.
Definition: cpl_pluginlist.c:256
cpl_array_add_scalar
cpl_error_code cpl_array_add_scalar(cpl_array *array, double value)
Add a constant value to a numerical array.
Definition: cpl_array.c:3938
cpl_image_get_maxpos
cpl_error_code cpl_image_get_maxpos(const cpl_image *image, cpl_size *px, cpl_size *py)
Computes maximum pixel value and position over an image.
Definition: cpl_image_stats.c:645
cpl_table_select_row
cpl_error_code cpl_table_select_row(cpl_table *table, cpl_size row)
Flag a table row as selected.
Definition: cpl_table.c:10216
cpl_array_set_complex
cpl_error_code cpl_array_set_complex(cpl_array *array, cpl_size indx, double complex value)
Write a value to a complex array element.
Definition: cpl_array.c:2464
cpl_polynomial_get_coeff
double cpl_polynomial_get_coeff(const cpl_polynomial *self, const cpl_size *pows)
Get a coefficient of the polynomial.
Definition: cpl_polynomial.c:819
CPL_FILTER_AVERAGE
Definition: cpl_filter.h:190
cpl_parameterlist_get_last
cpl_parameter * cpl_parameterlist_get_last(cpl_parameterlist *self)
Get the last parameter in the given list.
Definition: cpl_parameterlist.c:486
cpl_apertures_get_maxpos_x
cpl_size cpl_apertures_get_maxpos_x(const cpl_apertures *self, cpl_size ind)
Get the X-position of the aperture maximum value.
Definition: cpl_apertures.c:404
cpl_table_get_nrow
cpl_size cpl_table_get_nrow(const cpl_table *table)
Get the number of rows in a table.
Definition: cpl_table.c:2864
CPL_STATS_MAD
Definition: cpl_stats.h:117
cpl_fft_mode
enum _cpl_fft_mode_ cpl_fft_mode
The CPL fft mode.
Definition: cpl_fft.h:84
cpl_dfs_save_imagelist
cpl_error_code cpl_dfs_save_imagelist(cpl_frameset *allframes, cpl_propertylist *header, const cpl_parameterlist *parlist, const cpl_frameset *usedframes, const cpl_frame *inherit, const cpl_imagelist *imagelist, cpl_type type, const char *recipe, const cpl_propertylist *applist, const char *remregexp, const char *pipe_id, const char *filename)
Save an imagelist as a DFS-compliant pipeline product.
Definition: cpl_dfs.c:292
cpl_regex_delete
void cpl_regex_delete(cpl_regex *self)
Destroys a regular expression filter object.
Definition: cpl_multiframe.c:157
cpl_propertylist_prepend_long_long
cpl_error_code cpl_propertylist_prepend_long_long(cpl_propertylist *self, const char *name, long long value)
Prepend a long long value to a property list.
Definition: cpl_propertylist.c:4954
cpl_table_divide_scalar_complex
cpl_error_code cpl_table_divide_scalar_complex(cpl_table *table, const char *name, double complex value)
Divide a numerical or complex column by a complex constant.
Definition: cpl_table.c:9048
cpl_table_set_float
cpl_error_code cpl_table_set_float(cpl_table *table, const char *name, cpl_size row, float value)
Write a value to a float table column element.
Definition: cpl_table.c:6055
cpl_parameter_class
enum _cpl_parameter_class_ cpl_parameter_class
The parameter class data type.
Definition: cpl_parameter.h:123
CPL_DFS_SIGNATURE_NONE
Definition: cpl_dfs.h:100
_cpl_parameter_class_
_cpl_parameter_class_
Supported parameter classes.
Definition: cpl_parameter.h:83
cpl_plugin_set_email
cpl_error_code cpl_plugin_set_email(cpl_plugin *self, const char *email)
Set the contact information of a plugin.
Definition: cpl_plugin.c:1069
cpl_matrix_get_nrow
cpl_size cpl_matrix_get_nrow(const cpl_matrix *matrix)
Get the number of rows of a matrix.
Definition: cpl_matrix.c:598
cpl_table_and_selected_invalid
cpl_size cpl_table_and_selected_invalid(cpl_table *table, const char *name)
Select from selected table rows all rows with an invalid value in a specified column.
Definition: cpl_table.c:14261
cpl_table_get_data_long_long_const
const long long * cpl_table_get_data_long_long_const(const cpl_table *table, const char *name)
Get a pointer to constant long long column data.
Definition: cpl_table.c:3740
cpl_fits_set_mode
cpl_error_code cpl_fits_set_mode(cpl_fits_mode mode)
Set the FITS I/O mode.
Definition: cpl_fits.c:121
cpl_parameter_set_alias
cpl_error_code cpl_parameter_set_alias(cpl_parameter *self, cpl_parameter_mode mode, const char *alias)
Set alias names for the given parameter.
Definition: cpl_parameter.c:3451
cpl_matrix_threshold_small
cpl_error_code cpl_matrix_threshold_small(cpl_matrix *matrix, double tolerance)
Rounding to zero very small numbers in matrix.
Definition: cpl_matrix.c:1889
_cpl_fits_mode_
_cpl_fits_mode_
The values of the CPL fits mode. The values can be combined with bitwise or.
Definition: cpl_fits.h:44
cpl_parameter_get_default_double
double cpl_parameter_get_default_double(const cpl_parameter *self)
Get the default value of the given double parameter.
Definition: cpl_parameter.c:2465
cpl_propertylist_update_double_complex
cpl_error_code cpl_propertylist_update_double_complex(cpl_propertylist *self, const char *name, double complex value)
Update a property list with a double complex value.
Definition: cpl_propertylist.c:6851
cpl_plugin_get_author
const char * cpl_plugin_get_author(const cpl_plugin *self)
Get the name of the plugin author.
Definition: cpl_plugin.c:1024
cpl_matrix_copy
cpl_error_code cpl_matrix_copy(cpl_matrix *matrix, const cpl_matrix *submatrix, cpl_size row, cpl_size col)
Write the values of a matrix into another matrix.
Definition: cpl_matrix.c:1491
cpl_pluginlist_dump
void cpl_pluginlist_dump(const cpl_pluginlist *self, FILE *stream)
Dump the contents of a plugin list to the given stream.
Definition: cpl_pluginlist.c:521
cpl_array_arg
cpl_error_code cpl_array_arg(cpl_array *array)
Compute the phase angle value of array elements.
Definition: cpl_array.c:4582
cpl_array_get_mean_complex
double complex cpl_array_get_mean_complex(const cpl_array *array)
Compute the mean value of a complex array.
Definition: cpl_array.c:4857
cpl_image_get_fwhm
cpl_error_code cpl_image_get_fwhm(const cpl_image *in, cpl_size xpos, cpl_size ypos, double *fwhm_x, double *fwhm_y)
Compute FWHM values in x and y for an object.
Definition: cpl_image_basic.c:3196
cpl_multiframe_write
cpl_error_code cpl_multiframe_write(cpl_multiframe *self, const char *filename)
Write a multi-frame container to a file.
Definition: cpl_multiframe.c:4816
cpl_matrix_new
cpl_matrix * cpl_matrix_new(cpl_size rows, cpl_size columns)
Create a zero matrix of given size.
Definition: cpl_matrix.c:407
cpl_plugin_get_version
unsigned long cpl_plugin_get_version(const cpl_plugin *self)
Get the version number of a plugin.
Definition: cpl_plugin.c:468
cpl_parameter
struct _cpl_parameter_ cpl_parameter
The opaque parameter data type.
Definition: cpl_parameter.h:133
cpl_table_duplicate
cpl_table * cpl_table_duplicate(const cpl_table *table)
Make a copy of a table.
Definition: cpl_table.c:8010
cpl_property_set_string
cpl_error_code cpl_property_set_string(cpl_property *self, const char *value)
Set the value of a string property.
Definition: cpl_property.c:1496
cpl_parameter_set_default_double
cpl_error_code cpl_parameter_set_default_double(cpl_parameter *self, double value)
Modify the default value of a double parameter.
Definition: cpl_parameter.c:1798
cpl_fit_imagelist_polynomial_window
cpl_imagelist * cpl_fit_imagelist_polynomial_window(const cpl_vector *x_pos, const cpl_imagelist *values, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, cpl_size mindeg, cpl_size maxdeg, cpl_boolean is_symsamp, cpl_type pixeltype, cpl_image *fiterror)
Least-squares fit a polynomial to each pixel in a list of images.
Definition: cpl_fit.c:367
cpl_table_and_selected_long
cpl_size cpl_table_and_selected_long(cpl_table *table, const char *name, cpl_table_select_operator operator, long value)
Select from selected table rows, by comparing long column values with a constant.
Definition: cpl_table.c:11836
cpl_parameter_get_bool
int cpl_parameter_get_bool(const cpl_parameter *self)
Get the value of the given boolean parameter.
Definition: cpl_parameter.c:2122
cpl_imagelist_add_image
cpl_error_code cpl_imagelist_add_image(cpl_imagelist *imlist, const cpl_image *img)
Add an image to an image list.
Definition: cpl_imagelist_basic.c:179
cpl_image_filter_linear
cpl_image * cpl_image_filter_linear(const cpl_image *in, const cpl_matrix *ker)
Compute a linear filtering.
Definition: cpl_image_filter.c:1237
cpl_flux_get_noise_ring
cpl_error_code cpl_flux_get_noise_ring(const cpl_image *diff, const double *zone_def, cpl_size ron_hsize, cpl_size ron_nsamp, double *noise, double *error)
Compute the readout noise in a ring.
Definition: cpl_detector.c:334
CPL_STATS_SQFLUX
Definition: cpl_stats.h:92
CPL_STATS_MEAN
Definition: cpl_stats.h:67
cpl_plugin_get_description
const char * cpl_plugin_get_description(const cpl_plugin *self)
Get the detailed description of a plugin.
Definition: cpl_plugin.c:937
cpl_table_wrap_float
cpl_error_code cpl_table_wrap_float(cpl_table *table, float *data, const char *name)
Create in table a new float column obtained from existing data.
Definition: cpl_table.c:2075
cpl_table_get_column_names
cpl_array * cpl_table_get_column_names(const cpl_table *table)
Get table columns names.
Definition: cpl_table.c:7825
cpl_propertylist_insert_after_double
cpl_error_code cpl_propertylist_insert_after_double(cpl_propertylist *self, const char *after, const char *name, double value)
Insert a double value into a property list after the given position.
Definition: cpl_propertylist.c:4521
cpl_array_count_invalid
cpl_size cpl_array_count_invalid(const cpl_array *array)
Count number of invalid elements in an array.
Definition: cpl_array.c:1124
cpl_table_get_column_maxpos
cpl_error_code cpl_table_get_column_maxpos(const cpl_table *table, const char *name, cpl_size *row)
Get position of maximum in a numerical column.
Definition: cpl_table.c:9956
cpl_array_exponential
cpl_error_code cpl_array_exponential(cpl_array *array, double base)
Compute the exponential of array elements.
Definition: cpl_array.c:4471
CPL_TYPE_FLOAT_COMPLEX
Definition: cpl_type.h:169
cpl_apertures_extract_window
cpl_apertures * cpl_apertures_extract_window(const cpl_image *self, const cpl_vector *sigmas, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, cpl_size *pisigma)
Simple detection of apertures in an image window.
Definition: cpl_apertures.c:1135
cpl_image_new
cpl_image * cpl_image_new(cpl_size nx, cpl_size ny, cpl_type type)
Allocate an image structure and pixel buffer for a image.
Definition: cpl_image_io.c:125
cpl_vector_get_size
cpl_size cpl_vector_get_size(const cpl_vector *in)
Get the size of the vector.
Definition: cpl_vector.c:718
cpl_frame_get_filename
const char * cpl_frame_get_filename(const cpl_frame *self)
Get the file name to which a frame refers.
Definition: cpl_frame.c:394
cpl_matrix_add_scalar
cpl_error_code cpl_matrix_add_scalar(cpl_matrix *matrix, double value)
Add a scalar to a matrix.
Definition: cpl_matrix.c:3534
cpl_apertures_get_left
cpl_size cpl_apertures_get_left(const cpl_apertures *self, cpl_size ind)
Get the leftmost x position in an aperture.
Definition: cpl_apertures.c:518
cpl_property_new
cpl_property * cpl_property_new(const char *name, cpl_type type)
Create an empty property of a given type.
Definition: cpl_property.c:414
cpl_image_and_scalar
cpl_error_code cpl_image_and_scalar(cpl_image *self, const cpl_image *first, cpl_bitmask second)
The bit-wise and of a scalar and an image with integer pixels.
Definition: cpl_image_basic.c:1584
_cpl_plugin_
The type representation of the generic plugin interface.
Definition: cpl_plugin.h:106
cpl_framedata_create
cpl_framedata * cpl_framedata_create(const char *tag, cpl_size min_count, cpl_size max_count)
Create a new frame data object and initialize it with the given values.
Definition: cpl_framedata.c:109
cpl_msg_set_threadid_on
void cpl_msg_set_threadid_on(void)
Attach a thread id tag to output messages.
Definition: cpl_msg.c:1245
CPL_FRAME_TYPE_IMAGE
Definition: cpl_frame.h:79
cpl_msg_set_indentation
void cpl_msg_set_indentation(int step)
Set the indentation step.
Definition: cpl_msg.c:1489
cpl_propertylist_insert_int
cpl_error_code cpl_propertylist_insert_int(cpl_propertylist *self, const char *here, const char *name, int value)
Insert a integer value into a property list at the given position.
Definition: cpl_propertylist.c:3671
cpl_table_compare_structure
int cpl_table_compare_structure(const cpl_table *table1, const cpl_table *table2)
Compare the structure of two tables.
Definition: cpl_table.c:4764
cpl_array_subtract_scalar
cpl_error_code cpl_array_subtract_scalar(cpl_array *array, double value)
Subtract a constant value from a numerical array.
Definition: cpl_array.c:4029
cpl_table_set_long_long
cpl_error_code cpl_table_set_long_long(cpl_table *table, const char *name, cpl_size row, long long value)
Write a value to an long long table column element.
Definition: cpl_table.c:5993
CPL_TYPE_COMPLEX
Definition: cpl_type.h:145
CPL_IO_COMPRESS_PLIO
Definition: cpl_io.h:95
cpl_array_get_cplsize
cpl_size cpl_array_get_cplsize(const cpl_array *array, cpl_size indx, int *null)
Read a value from a cpl_size array.
Definition: cpl_array.c:2178
cpl_imagelist_get_size
cpl_size cpl_imagelist_get_size(const cpl_imagelist *imlist)
Get the number of images in the imagelist.
Definition: cpl_imagelist_io.c:181
_cpl_framedata_::min_count
cpl_size min_count
Definition: cpl_framedata.h:69
cpl_free
void cpl_free(void *memblk)
Memory block deallocation.
Definition: cpl_memory.c:227
cpl_table_set_column_depth
cpl_error_code cpl_table_set_column_depth(cpl_table *table, const char *name, cpl_size depth)
Modify depth of a column of arrays.
Definition: cpl_table.c:7963
cpl_vector_new
cpl_vector * cpl_vector_new(cpl_size n)
Create a new cpl_vector.
Definition: cpl_vector.c:134
cpl_image_get_size_x
cpl_size cpl_image_get_size_x(const cpl_image *img)
Get the image x size.
Definition: cpl_image_io.c:638
cpl_propertylist_insert_float
cpl_error_code cpl_propertylist_insert_float(cpl_propertylist *self, const char *here, const char *name, float value)
Insert a float value into a property list at the given position.
Definition: cpl_propertylist.c:3857
CPL_TYPE_INVALID
Definition: cpl_type.h:55
CPL_VALUE_ZERO
Definition: cpl_image_bpm.h:67
cpl_propertylist_append_double
cpl_error_code cpl_propertylist_append_double(cpl_propertylist *self, const char *name, double value)
Append a double value to a property list.
Definition: cpl_propertylist.c:5575
cpl_frameset_count_tags
int cpl_frameset_count_tags(const cpl_frameset *self, const char *tag)
Counts the frames stored in a frame set having the given tag.
Definition: cpl_frameset.c:662
cpl_table_or_selected_int
cpl_size cpl_table_or_selected_int(cpl_table *table, const char *name, cpl_table_select_operator operator, int value)
Select from unselected table rows, by comparing integer column values with a constant.
Definition: cpl_table.c:11652
cpl_image_reject_value
cpl_error_code cpl_image_reject_value(cpl_image *self, cpl_value mode)
Reject pixels with the specified special value(s)
Definition: cpl_image_bpm.c:106
cpl_propertylist_get_string
const char * cpl_propertylist_get_string(const cpl_propertylist *self, const char *name)
Get the string value of the given property list entry.
Definition: cpl_propertylist.c:3290
cpl_array_get_data_double_complex_const
const double complex * cpl_array_get_data_double_complex_const(const cpl_array *array)
Get a pointer to constant double complex array data.
Definition: cpl_array.c:1769
cpl_image_cast
cpl_image * cpl_image_cast(const cpl_image *self, cpl_type type)
Convert a cpl_image to a given type.
Definition: cpl_image_io.c:1925
cpl_table_get_column_stdev
double cpl_table_get_column_stdev(const cpl_table *table, const char *name)
Find the standard deviation of a table column.
Definition: cpl_table.c:9823
cpl_array_set_float_complex
cpl_error_code cpl_array_set_float_complex(cpl_array *array, cpl_size indx, float complex value)
Write a value to a float complex array element.
Definition: cpl_array.c:2675
cpl_table_get_column_median
double cpl_table_get_column_median(const cpl_table *table, const char *name)
Compute the median value of a numerical column.
Definition: cpl_table.c:9760
cpl_propertylist_prepend_bool
cpl_error_code cpl_propertylist_prepend_bool(cpl_propertylist *self, const char *name, int value)
Prepend a boolean value to a property list.
Definition: cpl_propertylist.c:4798
cpl_msg_progress
void cpl_msg_progress(const char *component, int i, int iter, const char *format,...)
Display a progress message predicting the time required in a loop.
Definition: cpl_msg.c:1760
cpl_frameset_dump
void cpl_frameset_dump(const cpl_frameset *self, FILE *stream)
Dump the frameset debugging information to the given stream.
Definition: cpl_frameset.c:1976
CPL_TYPE_ULONG
Definition: cpl_type.h:109
cpl_array_unwrap
void * cpl_array_unwrap(cpl_array *array)
Delete an array, without losing the data buffer.
Definition: cpl_array.c:956
cpl_array_wrap_long
cpl_array * cpl_array_wrap_long(long *data, cpl_size length)
Create a new long integer array from existing data.
Definition: cpl_array.c:257
cpl_array_divide
cpl_error_code cpl_array_divide(cpl_array *to_array, const cpl_array *from_array)
Divide the values of two numeric or complex arrays.
Definition: cpl_array.c:3892
cpl_msg_set_domain_off
void cpl_msg_set_domain_off(void)
Disable the domain tag in output messages.
Definition: cpl_msg.c:1319
cpl_dfs_save_propertylist
cpl_error_code cpl_dfs_save_propertylist(cpl_frameset *allframes, cpl_propertylist *header, const cpl_parameterlist *parlist, const cpl_frameset *usedframes, const cpl_frame *inherit, const char *recipe, const cpl_propertylist *applist, const char *remregexp, const char *pipe_id, const char *filename)
Save a propertylist as a DFS-compliant pipeline product.
Definition: cpl_dfs.c:253
CPL_TYPE_CHAR
Definition: cpl_type.h:61
cpl_propertylist_update_float
cpl_error_code cpl_propertylist_update_float(cpl_propertylist *self, const char *name, float value)
Update a property list with a float value.
Definition: cpl_propertylist.c:6518
cpl_imagelist_add_scalar
cpl_error_code cpl_imagelist_add_scalar(cpl_imagelist *imlist, double addend)
Elementwise addition of a scalar to each image in the imlist.
Definition: cpl_imagelist_basic.c:262
cpl_image_get_min_window
double cpl_image_get_min_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
computes minimum pixel value over an image sub-window.
Definition: cpl_image_stats.c:124
cpl_polynomial_fit_2d_create
cpl_polynomial * cpl_polynomial_fit_2d_create(const cpl_bivector *xy_pos, const cpl_vector *values, cpl_size degree, double *pmse)
Fit a 2D-polynomial to a 2D-surface in a least squares sense.
Definition: cpl_polynomial.c:1708
cpl_parameterlist_find_type_const
const cpl_parameter * cpl_parameterlist_find_type_const(const cpl_parameterlist *self, cpl_type type)
Find a parameter of the given type in a parameter list.
Definition: cpl_parameterlist.c:635
cpl_matrix_solve
cpl_matrix * cpl_matrix_solve(const cpl_matrix *coeff, const cpl_matrix *rhs)
Solution of a linear system.
Definition: cpl_matrix.c:4589
cpl_recipeconfig_new
cpl_recipeconfig * cpl_recipeconfig_new(void)
Create a new recipe configuration object.
Definition: cpl_recipeconfig.c:256
cpl_mask_closing
cpl_error_code cpl_mask_closing(cpl_mask *in, const cpl_matrix *ker)
Compute a morphological closing.
Definition: cpl_mask.c:2152
_cpl_framedata_::tag
const char * tag
Definition: cpl_framedata.h:61
cpl_vector_subtract
cpl_error_code cpl_vector_subtract(cpl_vector *v1, const cpl_vector *v2)
Subtract a cpl_vector from another.
Definition: cpl_vector.c:1003
cpl_image_divide_scalar
cpl_error_code cpl_image_divide_scalar(cpl_image *self, double scalar)
Elementwise division of an image with a scalar.
Definition: cpl_image_basic.c:1144
cpl_image_get_minpos_window
cpl_error_code cpl_image_get_minpos_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, cpl_size *px, cpl_size *py)
Computes minimum pixel value and position over an image sub window.
Definition: cpl_image_stats.c:528
cpl_property_get_long_long
long long cpl_property_get_long_long(const cpl_property *self)
Get the value of a long long property.
Definition: cpl_property.c:2028
cpl_framedata_get_min_count
cpl_size cpl_framedata_get_min_count(const cpl_framedata *self)
Get the minimum number of frames.
Definition: cpl_framedata.c:304
cpl_array_get_float_complex
float complex cpl_array_get_float_complex(const cpl_array *array, cpl_size indx, int *null)
Read a value from a float complex array.
Definition: cpl_array.c:2257
cpl_mask_new
cpl_mask * cpl_mask_new(cpl_size nx, cpl_size ny)
Create a new cpl_mask.
Definition: cpl_mask.c:702
cpl_filter_mode
enum _cpl_filter_mode_ cpl_filter_mode
The filter mode type.
Definition: cpl_filter.h:314
CPL_ERROR_EOL
Definition: cpl_error.h:434
CPL_BORDER_CROP
Definition: cpl_filter.h:75
cpl_table_get_float_complex
float complex cpl_table_get_float_complex(const cpl_table *table, const char *name, cpl_size row, int *null)
Read a value from a float complex column.
Definition: cpl_table.c:5408
cpl_image_filter
cpl_error_code cpl_image_filter(cpl_image *self, const cpl_image *other, const cpl_matrix *kernel, cpl_filter_mode filter, cpl_border_mode border)
Filter an image using a floating-point kernel.
Definition: cpl_image_filter.c:958
cpl_wlcalib_fill_line_spectrum
cpl_error_code cpl_wlcalib_fill_line_spectrum(cpl_vector *self, void *model, const cpl_polynomial *disp)
Generate a 1D spectrum from a model and a dispersion relation.
Definition: cpl_wlcalib.c:625
CPL_REGEX_BASIC
Definition: cpl_multiframe.h:60
cpl_vector_dump
void cpl_vector_dump(const cpl_vector *v, FILE *stream)
Dump a cpl_vector as ASCII to a stream.
Definition: cpl_vector.c:363
cpl_mask_threshold_image_create
cpl_mask * cpl_mask_threshold_image_create(const cpl_image *in, double lo_cut, double hi_cut)
Select parts of an image with provided thresholds.
Definition: cpl_mask.c:2320
cpl_image_multiply_create
cpl_image * cpl_image_multiply_create(const cpl_image *image1, const cpl_image *image2)
Multiply two images.
Definition: cpl_image_basic.c:331
cpl_parameter_set_default_string
cpl_error_code cpl_parameter_set_default_string(cpl_parameter *self, const char *value)
Modify the default value of a string parameter.
Definition: cpl_parameter.c:1857
cpl_msg_get_log_name
const char * cpl_msg_get_log_name(void)
Get the log file name.
Definition: cpl_msg.c:1002
cpl_apertures_get_bottom_x
cpl_size cpl_apertures_get_bottom_x(const cpl_apertures *self, cpl_size ind)
Get the x position of the bottommost y position in an aperture.
Definition: cpl_apertures.c:608
cpl_matrix_set
cpl_error_code cpl_matrix_set(cpl_matrix *matrix, cpl_size row, cpl_size column, double value)
Write a value to a matrix element.
Definition: cpl_matrix.c:814
cpl_plot_image_row
cpl_error_code cpl_plot_image_row(const char *pre, const char *options, const char *post, const cpl_image *image, cpl_size firstrow, cpl_size lastrow, cpl_size rowstep)
Plot a range of image rows.
Definition: cpl_plot.c:771
cpl_parameter_get_alias
const char * cpl_parameter_get_alias(const cpl_parameter *self, cpl_parameter_mode mode)
Get the parameter's alias name for the given mode.
Definition: cpl_parameter.c:3534
cpl_mask_or
cpl_error_code cpl_mask_or(cpl_mask *in1, const cpl_mask *in2)
Performs a logical OR of one mask onto another.
Definition: cpl_mask.c:1218
cpl_regex
struct _cpl_regex_ cpl_regex
The opaque regular expression filter data type.
Definition: cpl_multiframe.h:90
cpl_image_get_data_int
int * cpl_image_get_data_int(cpl_image *img)
Get the data as a integer array.
Definition: cpl_image_io.c:1719
cpl_parameter_get_class
cpl_parameter_class cpl_parameter_get_class(const cpl_parameter *self)
Get the parameter's class.
Definition: cpl_parameter.c:2074
cpl_size
long long cpl_size
The type used for sizes and indices in CPL.
Definition: cpl_type.h:208
cpl_framedata_set_tag
cpl_error_code cpl_framedata_set_tag(cpl_framedata *self, const char *tag)
Set the frame tag to the given value.
Definition: cpl_framedata.c:397
cpl_image_subtract
cpl_error_code cpl_image_subtract(cpl_image *im1, const cpl_image *im2)
Subtract two images, store the result in the first image.
Definition: cpl_image_basic.c:692
CPL_ERROR_SINGULAR_MATRIX
Definition: cpl_error.h:422
cpl_table_get_column_name
const char * cpl_table_get_column_name(const cpl_table *table)
Get table columns names.
Definition: cpl_table.c:7785
cpl_table_get_data_double_complex
double complex * cpl_table_get_data_double_complex(cpl_table *table, const char *name)
Get a pointer to double complex column data.
Definition: cpl_table.c:4178
cpl_propertylist_insert_long_long
cpl_error_code cpl_propertylist_insert_long_long(cpl_propertylist *self, const char *here, const char *name, long long value)
Insert a long long value into a property list at the given position.
Definition: cpl_propertylist.c:3795
CPL_DFS_SIGNATURE_DATAMD5
Definition: cpl_dfs.h:107
cpl_gaussian_eval_2d
double cpl_gaussian_eval_2d(const cpl_array *self, double x, double y)
Evaluate the Gaussian in a 2D-point.
Definition: cpl_fit.c:2027
cpl_property_duplicate
cpl_property * cpl_property_duplicate(const cpl_property *other)
Create a copy of a property.
Definition: cpl_property.c:524
cpl_image_multiply
cpl_error_code cpl_image_multiply(cpl_image *im1, const cpl_image *im2)
Multiply two images, store the result in the first image.
Definition: cpl_image_basic.c:711
cpl_parameter_get_type
cpl_type cpl_parameter_get_type(const cpl_parameter *self)
Get the parameter's value type.
Definition: cpl_parameter.c:2034
cpl_apertures_get_max_x
double cpl_apertures_get_max_x(const cpl_apertures *self, cpl_size ind)
Get the average X-position of an aperture.
Definition: cpl_apertures.c:320
cpl_msg_get_log_level
cpl_msg_severity cpl_msg_get_log_level(void)
Get current log verbosity level.
Definition: cpl_msg.c:1155
cpl_multiframe_add_empty
cpl_error_code cpl_multiframe_add_empty(cpl_multiframe *self, const char *id)
Add a placeholder to a multi-frame container.
Definition: cpl_multiframe.c:4740
cpl_wlcalib_slitmodel_new
cpl_wlcalib_slitmodel * cpl_wlcalib_slitmodel_new(void)
Create a new line model to be initialized.
Definition: cpl_wlcalib.c:147
cpl_bivector_unwrap_vectors
void cpl_bivector_unwrap_vectors(cpl_bivector *f)
Free memory associated to a cpl_bivector, excluding the two vectors.
Definition: cpl_bivector.c:229
cpl_propertylist_set_char
cpl_error_code cpl_propertylist_set_char(cpl_propertylist *self, const char *name, char value)
Set the value of the given character property list entry.
Definition: cpl_propertylist.c:1872
cpl_table_subtract_columns
cpl_error_code cpl_table_subtract_columns(cpl_table *table, const char *to_name, const char *from_name)
Subtract two numeric or complex table columns.
Definition: cpl_table.c:8523
cpl_bivector_get_y_const
const cpl_vector * cpl_bivector_get_y_const(const cpl_bivector *in)
Get a pointer to the y vector of the cpl_bivector.
Definition: cpl_bivector.c:460
cpl_wlcalib_slitmodel_set_catalog
cpl_error_code cpl_wlcalib_slitmodel_set_catalog(cpl_wlcalib_slitmodel *self, cpl_bivector *catalog)
Set the catalog of lines to be used by the spectrum filler.
Definition: cpl_wlcalib.c:360
cpl_plugin_get_version_string
char * cpl_plugin_get_version_string(const cpl_plugin *self)
Get the version number of a plugin as a string.
Definition: cpl_plugin.c:516
cpl_apertures_get_left_y
cpl_size cpl_apertures_get_left_y(const cpl_apertures *self, cpl_size ind)
Get the y position of the leftmost x position in an aperture.
Definition: cpl_apertures.c:541
cpl_table_insert
cpl_error_code cpl_table_insert(cpl_table *target_table, const cpl_table *insert_table, cpl_size row)
Merge two tables.
Definition: cpl_table.c:4882
cpl_frame_compare_func
int(* cpl_frame_compare_func)(const cpl_frame *self, const cpl_frame *other)
Frame comparison function.
Definition: cpl_frame.h:53
cpl_mask_filter
cpl_error_code cpl_mask_filter(cpl_mask *self, const cpl_mask *other, const cpl_mask *kernel, cpl_filter_mode filter, cpl_border_mode border)
Filter a mask using a binary kernel.
Definition: cpl_mask.c:1995
cpl_imagelist_subtract_scalar
cpl_error_code cpl_imagelist_subtract_scalar(cpl_imagelist *imlist, double subtrahend)
Elementwise subtraction of a scalar from each image in the imlist.
Definition: cpl_imagelist_basic.c:288
cpl_image_save
cpl_error_code cpl_image_save(const cpl_image *self, const char *filename, cpl_type type, const cpl_propertylist *pl, unsigned mode)
Save an image to a FITS file.
Definition: cpl_image_io.c:2553
cpl_table_get_array
const cpl_array * cpl_table_get_array(const cpl_table *table, const char *name, cpl_size row)
Read an array from an array column.
Definition: cpl_table.c:5684
cpl_image_get_max
double cpl_image_get_max(const cpl_image *image)
computes maximum pixel value over an image.
Definition: cpl_image_stats.c:185
cpl_image_add_create
cpl_image * cpl_image_add_create(const cpl_image *image1, const cpl_image *image2)
Add two images.
Definition: cpl_image_basic.c:293
cpl_frame_get_tag
const char * cpl_frame_get_tag(const cpl_frame *self)
Get the category tag of a frame.
Definition: cpl_frame.c:443
cpl_array_get_data_float
float * cpl_array_get_data_float(cpl_array *array)
Get a pointer to float array data.
Definition: cpl_array.c:1508
cpl_table_get_complex
double complex cpl_table_get_complex(const cpl_table *table, const char *name, cpl_size row, int *null)
Read a value from a complex column.
Definition: cpl_table.c:5038
cpl_vector_duplicate
cpl_vector * cpl_vector_duplicate(const cpl_vector *v)
This function duplicates an existing vector and allocates memory.
Definition: cpl_vector.c:665
cpl_propertylist
struct _cpl_propertylist_ cpl_propertylist
The opaque property list data type.
Definition: cpl_propertylist.h:39
cpl_table_sort
cpl_error_code cpl_table_sort(cpl_table *table, const cpl_propertylist *reflist)
Sort table rows according to columns values.
Definition: cpl_table.c:21518
cpl_mask_count_window
cpl_size cpl_mask_count_window(const cpl_mask *self, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Get the number of occurences of CPL_BINARY_1 in a window.
Definition: cpl_mask.c:1098
cpl_msg_stop
void cpl_msg_stop(void)
Turn the messaging system off.
Definition: cpl_msg.c:835
cpl_frame_new
cpl_frame * cpl_frame_new(void)
Create a new, empty frame.
Definition: cpl_frame.c:244
cpl_array_get_maxpos
cpl_error_code cpl_array_get_maxpos(const cpl_array *array, cpl_size *indx)
Get position of maximum in a numerical array.
Definition: cpl_array.c:5146
cpl_image_get_data_double_const
const double * cpl_image_get_data_double_const(const cpl_image *img)
Get the data as a double array.
Definition: cpl_image_io.c:1738
cpl_table_get_data_string_const
const char ** cpl_table_get_data_string_const(const cpl_table *table, const char *name)
Get a pointer to constant string column data.
Definition: cpl_table.c:4353
CPL_ERROR_MAX_MESSAGE_LENGTH
#define CPL_ERROR_MAX_MESSAGE_LENGTH
The maximum length of a CPL error message.
Definition: cpl_error.h:49
cpl_table_wrap_long
cpl_error_code cpl_table_wrap_long(cpl_table *table, long *data, const char *name)
Create in table a new long column obtained from existing data.
Definition: cpl_table.c:1967
_cpl_recipe_
The type representation of the recipe plugin interface.
Definition: cpl_recipe.h:68
cpl_matrix_flip_rows
cpl_error_code cpl_matrix_flip_rows(cpl_matrix *matrix)
Reverse order of rows in matrix.
Definition: cpl_matrix.c:2317
CPL_PARAMETER_CLASS_INVALID
Definition: cpl_parameter.h:90
CPL_FFT_FORWARD
Definition: cpl_fft.h:46
cpl_apertures_extract_sigma
cpl_apertures * cpl_apertures_extract_sigma(const cpl_image *self, double sigma)
Simple apertures detection in an image using a provided sigma.
Definition: cpl_apertures.c:1256
cpl_table_multiply_scalar_complex
cpl_error_code cpl_table_multiply_scalar_complex(cpl_table *table, const char *name, double complex value)
Multiply a numerical or complex column by a complex constant.
Definition: cpl_table.c:8933
cpl_array_power_complex
cpl_error_code cpl_array_power_complex(cpl_array *array, double complex exponent)
Compute the complex power of complex, numerical array elements.
Definition: cpl_array.c:4366
cpl_propertylist_set_long_long
cpl_error_code cpl_propertylist_set_long_long(cpl_propertylist *self, const char *name, long long value)
Set the value of the given long long property list entry.
Definition: cpl_propertylist.c:2114
cpl_property_set_long
cpl_error_code cpl_property_set_long(cpl_property *self, long value)
Set the value of a long property.
Definition: cpl_property.c:1219
CPL_TYPE_BOOL
Definition: cpl_type.h:73
cpl_recipeconfig_clear
void cpl_recipeconfig_clear(cpl_recipeconfig *self)
Clear a recipe configuration object.
Definition: cpl_recipeconfig.c:318
cpl_image_collapse_create
cpl_image * cpl_image_collapse_create(const cpl_image *self, int direction)
Collapse an image along its rows or columns.
Definition: cpl_image_basic.c:2425
cpl_plugin_set_init
cpl_error_code cpl_plugin_set_init(cpl_plugin *self, cpl_plugin_func func)
Set the initialisation handler of a plugin.
Definition: cpl_plugin.c:1246
cpl_table_set
cpl_error_code cpl_table_set(cpl_table *table, const char *name, cpl_size row, double value)
Write a value to a numerical table column element.
Definition: cpl_table.c:5749
cpl_plugin_get_type_string
char * cpl_plugin_get_type_string(const cpl_plugin *self)
Get the type of a plugin as string.
Definition: cpl_plugin.c:657
cpl_plugin_get_copyright
const char * cpl_plugin_get_copyright(const cpl_plugin *self)
Get the license and copyright information of a plugin.
Definition: cpl_plugin.c:1203
cpl_table_erase_invalid_rows
cpl_error_code cpl_table_erase_invalid_rows(cpl_table *table)
Remove from a table columns and rows just containing invalid elements.
Definition: cpl_table.c:10022
cpl_array_fill_window_int
cpl_error_code cpl_array_fill_window_int(cpl_array *array, cpl_size start, cpl_size count, int value)
Write the same value within an integer array segment.
Definition: cpl_array.c:2930
cpl_table_or_selected_float
cpl_size cpl_table_or_selected_float(cpl_table *table, const char *name, cpl_table_select_operator operator, float value)
Select from unselected table rows, by comparing float column values with a constant.
Definition: cpl_table.c:12930
cpl_array_wrap_long_long
cpl_array * cpl_array_wrap_long_long(long long *data, cpl_size length)
Create a new long long integer array from existing data.
Definition: cpl_array.c:310
cpl_matrix_swap_rows
cpl_error_code cpl_matrix_swap_rows(cpl_matrix *matrix, cpl_size row1, cpl_size row2)
Swap two matrix rows.
Definition: cpl_matrix.c:2140
cpl_frameset_iterator_delete
void cpl_frameset_iterator_delete(cpl_frameset_iterator *self)
Destroy a frame set iterator.
Definition: cpl_frameset.c:2180
cpl_mask_duplicate
cpl_mask * cpl_mask_duplicate(const cpl_mask *in)
Duplicates a cpl_mask.
Definition: cpl_mask.c:758
cpl_malloc
void * cpl_malloc(size_t nbytes)
Allocate nbytes bytes.
Definition: cpl_memory.c:124
cpl_type_get_sizeof
size_t cpl_type_get_sizeof(cpl_type type)
Compute the size of a type.
Definition: cpl_type.c:73
cpl_table_get_int
int cpl_table_get_int(const cpl_table *table, const char *name, cpl_size row, int *null)
Read a value from an integer column.
Definition: cpl_table.c:5121
cpl_propertylist_get_type
cpl_type cpl_propertylist_get_type(const cpl_propertylist *self, const char *name)
Get the the type of a property list entry.
Definition: cpl_propertylist.c:1629
cpl_msg_info
void cpl_msg_info(const char *component, const char *format,...)
Display an information message.
Definition: cpl_msg.c:1645
CPL_ERROR_FILE_IO
Definition: cpl_error.h:398
cpl_frameset_duplicate
cpl_frameset * cpl_frameset_duplicate(const cpl_frameset *other)
Create a copy of the given frame set.
Definition: cpl_frameset.c:485
cpl_property_get_float_complex
float complex cpl_property_get_float_complex(const cpl_property *self)
Get the value of a float complex property.
Definition: cpl_property.c:2328
cpl_frame_set_level
cpl_error_code cpl_frame_set_level(cpl_frame *self, cpl_frame_level level)
Set the level attribute of a frame.
Definition: cpl_frame.c:797
cpl_polynomial_solve_1d
cpl_error_code cpl_polynomial_solve_1d(const cpl_polynomial *p, double x0, double *px, cpl_size mul)
A real solution to p(x) = 0 using Newton-Raphsons method.
Definition: cpl_polynomial.c:1234
cpl_plugin_copy
cpl_error_code cpl_plugin_copy(cpl_plugin *self, const cpl_plugin *other)
Copy a plugin.
Definition: cpl_plugin.c:176
cpl_polynomial_get_degree
cpl_size cpl_polynomial_get_degree(const cpl_polynomial *self)
The degree of the polynomial.
Definition: cpl_polynomial.c:770
cpl_ensure_code
#define cpl_ensure_code(BOOL, ERRCODE)
Set an error code and return it iff a boolean expression is false.
Definition: cpl_error.h:228
cpl_frameset_find
cpl_frame * cpl_frameset_find(cpl_frameset *self, const char *tag)
Find a frame with the given tag in a frame set.
Definition: cpl_frameset.c:825
cpl_image_get_median_dev_window
double cpl_image_get_median_dev_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, double *sigma)
Computes median and mean absolute median deviation on an image window.
Definition: cpl_image_stats.c:697
cpl_frameset_extract
cpl_frameset * cpl_frameset_extract(const cpl_frameset *self, const cpl_size *labels, cpl_size desired_label)
Extract a subset of frames from a set of frames.
Definition: cpl_frameset.c:1908
cpl_errorstate_set
void cpl_errorstate_set(cpl_errorstate self)
Set the CPL errorstate.
Definition: cpl_errorstate.c:223
_cpl_plugin_::copyright
const char * copyright
Plugin's copyright.
Definition: cpl_plugin.h:211
cpl_parameter_duplicate
cpl_parameter * cpl_parameter_duplicate(const cpl_parameter *self)
Create a copy of a parameter.
Definition: cpl_parameter.c:1257
cpl_table_fill_invalid_int
cpl_error_code cpl_table_fill_invalid_int(cpl_table *table, const char *name, int code)
Write a numerical value to invalid integer column elements.
Definition: cpl_table.c:11081
cpl_propertylist_get_property_const
const cpl_property * cpl_propertylist_get_property_const(const cpl_propertylist *self, const char *name)
Access property list elements by property name.
Definition: cpl_propertylist.c:7887
cpl_image_iqe
cpl_bivector * cpl_image_iqe(const cpl_image *in, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Compute an image quality estimation for an object.
Definition: cpl_image_iqe.c:101
CPL_FITS_STOP_CACHING
Definition: cpl_fits.h:52
CPL_BORDER_NOP
Definition: cpl_filter.h:80
cpl_geom_img_offset_combine
cpl_image ** cpl_geom_img_offset_combine(const cpl_imagelist *self, const cpl_bivector *offs, int refine, const cpl_bivector *aperts, const cpl_vector *sigmas, cpl_size *pisigma, cpl_size s_hx, cpl_size s_hy, cpl_size m_hx, cpl_size m_hy, cpl_size min_rej, cpl_size max_rej, cpl_geom_combine union_flag)
Images list recombination.
Definition: cpl_geom_img.c:371
cpl_matrix_product_create
cpl_matrix * cpl_matrix_product_create(const cpl_matrix *matrix1, const cpl_matrix *matrix2)
Rows-by-columns product of two matrices.
Definition: cpl_matrix.c:3968
cpl_end
void cpl_end(void)
Stop the internal subsystems of CPL.
Definition: cpl_init.c:246
CPL_PARAMETER_CLASS_ENUM
Definition: cpl_parameter.h:111
cpl_image_subtract_scalar_create
cpl_image * cpl_image_subtract_scalar_create(const cpl_image *image, double subtrahend)
Create an image by elementwise subtraction of a scalar from an image.
Definition: cpl_image_basic.c:1979
cpl_image_get_median_dev
double cpl_image_get_median_dev(const cpl_image *image, double *sigma)
Computes median and mean absolute median deviation on an image window.
Definition: cpl_image_stats.c:738
cpl_imagelist_save
cpl_error_code cpl_imagelist_save(const cpl_imagelist *self, const char *filename, cpl_type type, const cpl_propertylist *pl, unsigned mode)
Save an imagelist to disk in FITS format.
Definition: cpl_imagelist_io.c:732
cpl_matrix_unwrap
void * cpl_matrix_unwrap(cpl_matrix *matrix)
Delete a matrix, but not its data buffer.
Definition: cpl_matrix.c:560
cpl_array_get_data_cplsize_const
const cpl_size * cpl_array_get_data_cplsize_const(const cpl_array *array)
Get a pointer to constant cpl_size array data.
Definition: cpl_array.c:1471
cpl_apertures_get_min
double cpl_apertures_get_min(const cpl_apertures *self, cpl_size ind)
Get the minimum value of an aperture.
Definition: cpl_apertures.c:721
cpl_property_get_double_complex
double complex cpl_property_get_double_complex(const cpl_property *self)
Get the value of a double complex property.
Definition: cpl_property.c:2409
cpl_image_set_bpm
cpl_mask * cpl_image_set_bpm(cpl_image *self, cpl_mask *bpm)
Replace the bad pixel map of the image.
Definition: cpl_image_io.c:1548
cpl_array_multiply_scalar
cpl_error_code cpl_array_multiply_scalar(cpl_array *array, double value)
Multiply a numerical array by a constant value.
Definition: cpl_array.c:4120
cpl_table_wrap_string
cpl_error_code cpl_table_wrap_string(cpl_table *table, char **data, const char *name)
Create in table a new string column obtained from existing data.
Definition: cpl_table.c:2297
cpl_image_collapse_window_create
cpl_image * cpl_image_collapse_window_create(const cpl_image *self, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, int direction)
Collapse an image region along its rows or columns.
Definition: cpl_image_basic.c:2351
cpl_version_get_micro
unsigned int cpl_version_get_micro(void)
Get the library's micro version number.
Definition: cpl_version.c:94
cpl_plot_image_col
cpl_error_code cpl_plot_image_col(const char *pre, const char *options, const char *post, const cpl_image *image, cpl_size firstcol, cpl_size lastcol, cpl_size colstep)
Plot a range of image columns.
Definition: cpl_plot.c:895
cpl_array_set_int
cpl_error_code cpl_array_set_int(cpl_array *array, cpl_size indx, int value)
Write a value to an integer array element.
Definition: cpl_array.c:2500
cpl_parameter_disable
cpl_error_code cpl_parameter_disable(cpl_parameter *self, cpl_parameter_mode mode)
Deactivate a parameter for the given mode.
Definition: cpl_parameter.c:3745
cpl_image_get_data
void * cpl_image_get_data(cpl_image *img)
Gets the pixel data.
Definition: cpl_image_io.c:1512
cpl_array_wrap_float
cpl_array * cpl_array_wrap_float(float *data, cpl_size length)
Create a new float array from existing data.
Definition: cpl_array.c:397
_cpl_plugin_::synopsis
const char * synopsis
Plugin's short help string.
Definition: cpl_plugin.h:164
cpl_image_get_stdev_window
double cpl_image_get_stdev_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
computes pixel standard deviation over an image sub-window.
Definition: cpl_image_stats.c:301
cpl_propertylist_insert_after_int
cpl_error_code cpl_propertylist_insert_after_int(cpl_propertylist *self, const char *after, const char *name, int value)
Insert a integer value into a property list after the given position.
Definition: cpl_propertylist.c:4272
CPL_TYPE_FLAG_ARRAY
Definition: cpl_type.h:45
CPL_TYPE_UCHAR
Definition: cpl_type.h:67
cpl_frameset_get_position_const
const cpl_frame * cpl_frameset_get_position_const(const cpl_frameset *self, cpl_size position)
Get the frame at a given iterator position.
Definition: cpl_frameset.c:1842
cpl_frame_get_group
cpl_frame_group cpl_frame_get_group(const cpl_frame *self)
Get the current group of a frame.
Definition: cpl_frame.c:524
CPL_IO_CREATE
Definition: cpl_io.h:71
cpl_table_get_column_unit
const char * cpl_table_get_column_unit(const cpl_table *table, const char *name)
Get the unit of a table column.
Definition: cpl_table.c:3271
_cpl_plugin_::version
unsigned long version
The Plugin version.
Definition: cpl_plugin.h:130
cpl_image_new_from_mask
cpl_image * cpl_image_new_from_mask(const cpl_mask *mask)
Create an int image from a mask.
Definition: cpl_image_io.c:512
cpl_table_copy_structure
cpl_error_code cpl_table_copy_structure(cpl_table *table, const cpl_table *mtable)
Give to a table the same structure of another table.
Definition: cpl_table.c:1513
cpl_bivector_interpolate_linear
cpl_error_code cpl_bivector_interpolate_linear(cpl_bivector *fout, const cpl_bivector *fref)
Linear interpolation of a 1d-function.
Definition: cpl_bivector.c:585
CPL_FFT_FIND_PATIENT
Definition: cpl_fft.h:69
cpl_matrix_extract_column
cpl_matrix * cpl_matrix_extract_column(const cpl_matrix *matrix, cpl_size column)
Copy a matrix column.
Definition: cpl_matrix.c:1069
cpl_propertylist_set_int
cpl_error_code cpl_propertylist_set_int(cpl_propertylist *self, const char *name, int value)
Set the value of the given integer property list entry.
Definition: cpl_propertylist.c:1993
cpl_table_shift_column
cpl_error_code cpl_table_shift_column(cpl_table *table, const char *name, cpl_size shift)
Shift the position of numeric or complex column values.
Definition: cpl_table.c:11011
cpl_propertylist_insert_after_string
cpl_error_code cpl_propertylist_insert_after_string(cpl_propertylist *self, const char *after, const char *name, const char *value)
Insert a string value into a property list after the given position.
Definition: cpl_propertylist.c:4584
cpl_parameter_dump
void cpl_parameter_dump(const cpl_parameter *self, FILE *stream)
Dump the parameter debugging information to the given stream.
Definition: cpl_parameter.c:3794
cpl_table_set_size
cpl_error_code cpl_table_set_size(cpl_table *table, cpl_size new_length)
Resize a table to a new number of rows.
Definition: cpl_table.c:7879
cpl_array_wrap_float_complex
cpl_array * cpl_array_wrap_float_complex(float complex *data, cpl_size length)
Create a new float complex array from existing data.
Definition: cpl_array.c:431
cpl_array_get_double
double cpl_array_get_double(const cpl_array *array, cpl_size indx, int *null)
Read a value from a double array.
Definition: cpl_array.c:2297
cpl_image_get_min
double cpl_image_get_min(const cpl_image *image)
computes minimum pixel value over an image.
Definition: cpl_image_stats.c:149
cpl_fits_get_mode
cpl_fits_mode cpl_fits_get_mode(void)
Get the FITS I/O mode.
Definition: cpl_fits.c:159
cpl_recipeconfig_get_min_count
cpl_size cpl_recipeconfig_get_min_count(const cpl_recipeconfig *self, const char *tag, const char *input)
Get the minimum number of frames for the given configuration and tag.
Definition: cpl_recipeconfig.c:1296
CPL_PLUGIN_API
#define CPL_PLUGIN_API
Plugin API version.
Definition: cpl_plugin.h:40
cpl_imagelist_multiply_image
cpl_error_code cpl_imagelist_multiply_image(cpl_imagelist *imlist, const cpl_image *img)
Multiply an image list by an image.
Definition: cpl_imagelist_basic.c:219
cpl_imagelist_erase
cpl_error_code cpl_imagelist_erase(cpl_imagelist *imlist, const cpl_vector *valid)
Reject one or more images in a list according to an array of flags.
Definition: cpl_imagelist_io.c:625
cpl_vector_fit_gaussian
cpl_error_code cpl_vector_fit_gaussian(const cpl_vector *x, const cpl_vector *sigma_x, const cpl_vector *y, const cpl_vector *sigma_y, cpl_fit_mode fit_pars, double *x0, double *sigma, double *area, double *offset, double *mse, double *red_chisq, cpl_matrix **covariance)
Apply a 1d gaussian fit.
Definition: cpl_vector.c:2748
cpl_bivector_copy
cpl_error_code cpl_bivector_copy(cpl_bivector *self, const cpl_bivector *other)
Copy contents of a bivector into another bivector.
Definition: cpl_bivector.c:189
cpl_stats_get_max_x
cpl_size cpl_stats_get_max_x(const cpl_stats *in)
Get the maximum x position from a cpl_stats object.
Definition: cpl_stats.c:340
cpl_parameter_set_default_int
cpl_error_code cpl_parameter_set_default_int(cpl_parameter *self, int value)
Modify the default value of an integer parameter.
Definition: cpl_parameter.c:1739
cpl_array_add
cpl_error_code cpl_array_add(cpl_array *to_array, const cpl_array *from_array)
Add the values of two numeric or complex arrays.
Definition: cpl_array.c:3736
CPL_TYPE_USHORT
Definition: cpl_type.h:85
cpl_table_copy_data_float
cpl_error_code cpl_table_copy_data_float(cpl_table *table, const char *name, const float *data)
Copy existing data to a table float column.
Definition: cpl_table.c:2587
cpl_table_imag_column
cpl_error_code cpl_table_imag_column(cpl_table *table, const char *name)
Compute the imaginary part value of table column elements.
Definition: cpl_table.c:9576
cpl_vector_get_min
double cpl_vector_get_min(const cpl_vector *v)
Get the minimum of the cpl_vector.
Definition: cpl_vector.c:1500
cpl_array_fill_window_double_complex
cpl_error_code cpl_array_fill_window_double_complex(cpl_array *array, cpl_size start, cpl_size count, double complex value)
Write the same value within a double complex array segment.
Definition: cpl_array.c:3218
cpl_image_wrap_double_complex
cpl_image * cpl_image_wrap_double_complex(cpl_size nx, cpl_size ny, double complex *pixels)
Create a double complex image using an existing pixel buffer.
Definition: cpl_image_io.c:241
cpl_propertylist_dump
void cpl_propertylist_dump(const cpl_propertylist *self, FILE *stream)
Print a property list.
Definition: cpl_propertylist.c:8111
cpl_table_set_column_dimensions
cpl_error_code cpl_table_set_column_dimensions(cpl_table *table, const char *name, const cpl_array *dimensions)
Set the dimensions of a table column of arrays.
Definition: cpl_table.c:3104
cpl_imagelist_delete
void cpl_imagelist_delete(cpl_imagelist *self)
Free all memory used by a cpl_imagelist object including the images.
Definition: cpl_imagelist_io.c:467
cpl_matrix_swap_columns
cpl_error_code cpl_matrix_swap_columns(cpl_matrix *matrix, cpl_size column1, cpl_size column2)
Swap two matrix columns.
Definition: cpl_matrix.c:2189
cpl_table_not_selected
cpl_size cpl_table_not_selected(cpl_table *table)
Select unselected table rows, and unselect selected ones.
Definition: cpl_table.c:14665
CPL_FITS_ONE
Definition: cpl_fits.h:67
cpl_wlcalib_fill_logline_spectrum_fast
cpl_error_code cpl_wlcalib_fill_logline_spectrum_fast(cpl_vector *self, void *model, const cpl_polynomial *disp)
Generate a 1D spectrum from a model and a dispersion relation.
Definition: cpl_wlcalib.c:762
cpl_frame_duplicate
cpl_frame * cpl_frame_duplicate(const cpl_frame *other)
Create a copy of a frame.
Definition: cpl_frame.c:286
cpl_fits_mode
enum _cpl_fits_mode_ cpl_fits_mode
The CPL fits mode. It is a bit field.
Definition: cpl_fits.h:77
cpl_property_get_long
long cpl_property_get_long(const cpl_property *self)
Get the value of a long property.
Definition: cpl_property.c:1953
cpl_bivector_sort
cpl_error_code cpl_bivector_sort(cpl_bivector *self, const cpl_bivector *other, cpl_sort_direction dir, cpl_sort_mode mode)
Sort a cpl_bivector.
Definition: cpl_bivector.c:681
cpl_imagelist_multiply_scalar
cpl_error_code cpl_imagelist_multiply_scalar(cpl_imagelist *imlist, double factor)
Elementwise multiplication of the imlist with a scalar.
Definition: cpl_imagelist_basic.c:314
cpl_image_wrap_int
cpl_image * cpl_image_wrap_int(cpl_size nx, cpl_size ny, int *pixels)
Create an integer image using an existing pixel buffer.
Definition: cpl_image_io.c:293
cpl_propertylist_prepend_float_complex
cpl_error_code cpl_propertylist_prepend_float_complex(cpl_propertylist *self, const char *name, float complex value)
Prepend a float complex value to a property list.
Definition: cpl_propertylist.c:5162
cpl_table_has_invalid
int cpl_table_has_invalid(const cpl_table *table, const char *name)
Check if a column contains at least one invalid value.
Definition: cpl_table.c:7363
CPL_TYPE_LONG
Definition: cpl_type.h:103
cpl_property_get_int
int cpl_property_get_int(const cpl_property *self)
Get the value of an integer property.
Definition: cpl_property.c:1901
cpl_frameset_join
cpl_error_code cpl_frameset_join(cpl_frameset *self, const cpl_frameset *other)
Join two frame sets.
Definition: cpl_frameset.c:1339
cpl_mask_delete
void cpl_mask_delete(cpl_mask *m)
Delete a cpl_mask.
Definition: cpl_mask.c:783
cpl_value
enum _cpl_value_ cpl_value
The CPL special value. It is a bit field.
Definition: cpl_image_bpm.h:87
cpl_table_get_column_max
double cpl_table_get_column_max(const cpl_table *table, const char *name)
Get maximum value in a numerical column.
Definition: cpl_table.c:9857
cpl_test_get_bytes_imagelist
size_t cpl_test_get_bytes_imagelist(const cpl_imagelist *self)
Get the amount of storage [bytes] for the CPL object.
Definition: cpl_test.c:404
_cpl_plugin_::initialize
cpl_plugin_func initialize
Initializes a plugin instance.
Definition: cpl_plugin.h:227
cpl_stats_delete
void cpl_stats_delete(cpl_stats *stats)
Free memory associated to an cpl_stats object.
Definition: cpl_stats.c:395
cpl_array_get_long
long cpl_array_get_long(const cpl_array *array, cpl_size indx, int *null)
Read a value from a long integer array.
Definition: cpl_array.c:2085
cpl_frameset_find_const
const cpl_frame * cpl_frameset_find_const(const cpl_frameset *self, const char *tag)
Find a frame with the given tag in a frame set.
Definition: cpl_frameset.c:717
cpl_matrix_invert_create
cpl_matrix * cpl_matrix_invert_create(const cpl_matrix *matrix)
Find a matrix inverse.
Definition: cpl_matrix.c:4669
cpl_array_get_data_float_complex_const
const float complex * cpl_array_get_data_float_complex_const(const cpl_array *array)
Get a pointer to constant float complex array data.
Definition: cpl_array.c:1619
cpl_frame_set_filename
cpl_error_code cpl_frame_set_filename(cpl_frame *self, const char *filename)
Set the file name to which a frame refers.
Definition: cpl_frame.c:609
_cpl_framedata_::max_count
cpl_size max_count
Definition: cpl_framedata.h:77
CPL_STATS_FLUX
Definition: cpl_stats.h:82
cpl_plot_mask
cpl_error_code cpl_plot_mask(const char *pre, const char *options, const char *post, const cpl_mask *mask)
Plot a mask.
Definition: cpl_plot.c:504
cpl_array_get_data_double
double * cpl_array_get_data_double(cpl_array *array)
Get a pointer to double array data.
Definition: cpl_array.c:1656
cpl_msg_error
void cpl_msg_error(const char *component, const char *format,...)
Display an error message.
Definition: cpl_msg.c:1584
cpl_mask_is_empty
cpl_boolean cpl_mask_is_empty(const cpl_mask *self)
Return CPL_TRUE iff a mask has no elements set (to CPL_BINARY_1)
Definition: cpl_mask.c:1013
cpl_imagelist_swap_axis_create
cpl_imagelist * cpl_imagelist_swap_axis_create(const cpl_imagelist *ilist, cpl_swap_axis mode)
Swap the axis of an image list.
Definition: cpl_imagelist_basic.c:972
cpl_table_extract_selected
cpl_table * cpl_table_extract_selected(const cpl_table *table)
Create a new table from the selected rows of another table.
Definition: cpl_table.c:21207
cpl_wlcalib_fill_logline_spectrum
cpl_error_code cpl_wlcalib_fill_logline_spectrum(cpl_vector *self, void *model, const cpl_polynomial *disp)
Generate a 1D spectrum from a model and a dispersion relation.
Definition: cpl_wlcalib.c:667
cpl_array_set_long
cpl_error_code cpl_array_set_long(cpl_array *array, cpl_size indx, long value)
Write a value to a long integer array element.
Definition: cpl_array.c:2535
cpl_frameset_iterator_distance
int cpl_frameset_iterator_distance(const cpl_frameset_iterator *self, const cpl_frameset_iterator *other)
Calculate the distance between two iterators.
Definition: cpl_frameset.c:2429
cpl_mask_shift
cpl_error_code cpl_mask_shift(cpl_mask *self, cpl_size dx, cpl_size dy)
Shift a mask.
Definition: cpl_mask.c:1616
cpl_array_get_data_long_long_const
const long long * cpl_array_get_data_long_long_const(const cpl_array *array)
Get a pointer to constant long long integer array data.
Definition: cpl_array.c:1396
cpl_array_get_type
cpl_type cpl_array_get_type(const cpl_array *array)
Get the type of an array.
Definition: cpl_array.c:1046
cpl_frameset_get_frame_const
const cpl_frame * cpl_frameset_get_frame_const(const cpl_frameset *set, cpl_size position)
Get a frame from a frame set.
Definition: cpl_frameset.c:1646
cpl_test_get_bytes_image
size_t cpl_test_get_bytes_image(const cpl_image *self)
Get the amount of storage [bytes] for the CPL object.
Definition: cpl_test.c:386
cpl_array_get_data_int_const
const int * cpl_array_get_data_int_const(const cpl_array *array)
Get a pointer to constant integer array data.
Definition: cpl_array.c:1246
cpl_msg_set_time_off
void cpl_msg_set_time_off(void)
Disable the time tag in output messages.
Definition: cpl_msg.c:1221
CPL_BORDER_COPY
Definition: cpl_filter.h:85
cpl_stats_get_stdev
double cpl_stats_get_stdev(const cpl_stats *in)
Get the std. dev. from a cpl_stats object.
Definition: cpl_stats.c:210
cpl_propertylist_insert_after_long
cpl_error_code cpl_propertylist_insert_after_long(cpl_propertylist *self, const char *after, const char *name, long value)
Insert a long value into a property list after the given position.
Definition: cpl_propertylist.c:4334
cpl_stats_get_centroid_x
double cpl_stats_get_centroid_x(const cpl_stats *in)
Get the x centroid position from a cpl_stats object.
Definition: cpl_stats.c:270
cpl_version_get_version
const char * cpl_version_get_version(void)
Get the library's version string.
Definition: cpl_version.c:148
cpl_array_get_long_long
long long cpl_array_get_long_long(const cpl_array *array, cpl_size indx, int *null)
Read a value from a long long integer array.
Definition: cpl_array.c:2131
cpl_image_get_median
double cpl_image_get_median(const cpl_image *image)
computes median pixel value over an image.
Definition: cpl_image_stats.c:283
CPL_STATS_MEDIAN_DEV
Definition: cpl_stats.h:112
cpl_table_or_selected_double
cpl_size cpl_table_or_selected_double(cpl_table *table, const char *name, cpl_table_select_operator operator, double value)
Select from unselected table rows, by comparing double column values with a constant.
Definition: cpl_table.c:13588
cpl_image_get_data_int_const
const int * cpl_image_get_data_int_const(const cpl_image *img)
Get the data as a integer array.
Definition: cpl_image_io.c:1805
cpl_matrix_get_minpos
cpl_error_code cpl_matrix_get_minpos(const cpl_matrix *matrix, cpl_size *row, cpl_size *column)
Find position of minimum value of matrix elements.
Definition: cpl_matrix.c:5046
cpl_image_get_mean_window
double cpl_image_get_mean_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
computes mean pixel value over an image sub-window.
Definition: cpl_image_stats.c:203
CPL_TYPE_UINT
Definition: cpl_type.h:97
cpl_frameset_get_first
cpl_frame * cpl_frameset_get_first(cpl_frameset *self)
Get the first frame in the given set.
Definition: cpl_frameset.c:919
cpl_type_get_name
const char * cpl_type_get_name(cpl_type type)
Get a string with the name of a type, e.g. "char", "int", "float".
Definition: cpl_type.c:175
CPL_MATH_SQRT2PI
#define CPL_MATH_SQRT2PI
sqrt(2pi)
Definition: cpl_math_const.h:160
cpl_table_name_column
cpl_error_code cpl_table_name_column(cpl_table *table, const char *from_name, const char *to_name)
Rename a table column.
Definition: cpl_table.c:7689
_cpl_plugin_::name
const char * name
Plugin's unique name.
Definition: cpl_plugin.h:151
cpl_matrix_solve_normal
cpl_matrix * cpl_matrix_solve_normal(const cpl_matrix *coeff, const cpl_matrix *rhs)
Solution of overdetermined linear equations in a least squares sense.
Definition: cpl_matrix.c:4786
CPL_FRAME_LEVEL_FINAL
Definition: cpl_frame.h:207
cpl_array_get_string
const char * cpl_array_get_string(const cpl_array *array, cpl_size indx)
Read a value from a string array.
Definition: cpl_array.c:2387
cpl_plugin_set_name
cpl_error_code cpl_plugin_set_name(cpl_plugin *self, const char *name)
Set the name of a plugin.
Definition: cpl_plugin.c:717
cpl_array_set_double
cpl_error_code cpl_array_set_double(cpl_array *array, cpl_size indx, double value)
Write a value to a double array element.
Definition: cpl_array.c:2711
cpl_propertylist_copy_property
cpl_error_code cpl_propertylist_copy_property(cpl_propertylist *self, const cpl_propertylist *other, const char *name)
Copy a property from another property list.
Definition: cpl_propertylist.c:6941
cpl_bivector_get_y_data_const
const double * cpl_bivector_get_y_data_const(const cpl_bivector *in)
Get a pointer to the y data part of the cpl_bivector.
Definition: cpl_bivector.c:544
cpl_pluginlist_get_first
cpl_plugin * cpl_pluginlist_get_first(cpl_pluginlist *self)
Get the first plugin of a plugin list.
Definition: cpl_pluginlist.c:299
CPL_FRAME_LEVEL_NONE
Definition: cpl_frame.h:185
cpl_vector_fill
cpl_error_code cpl_vector_fill(cpl_vector *v, double val)
Fill a cpl_vector.
Definition: cpl_vector.c:1280
cpl_parameterlist_get_first
cpl_parameter * cpl_parameterlist_get_first(cpl_parameterlist *self)
Get the first parameter in the given parameter list.
Definition: cpl_parameterlist.c:285
cpl_image_get_data_float_const
const float * cpl_image_get_data_float_const(const cpl_image *img)
Get the data as a float array.
Definition: cpl_image_io.c:1755
cpl_bivector_get_x_data_const
const double * cpl_bivector_get_x_data_const(const cpl_bivector *in)
Get a pointer to the x data part of the cpl_bivector.
Definition: cpl_bivector.c:506
cpl_version_get_binary_age
unsigned int cpl_version_get_binary_age(void)
Get the library's binary age.
Definition: cpl_version.c:128
cpl_parameter_get_id
int cpl_parameter_get_id(const cpl_parameter *self)
Get the numerical identifier of the given parameter.
Definition: cpl_parameter.c:3253
cpl_image_new_from_accepted
cpl_image * cpl_image_new_from_accepted(const cpl_imagelist *imlist)
Create a contribution map from the bad pixel maps of the images.
Definition: cpl_imagelist_basic.c:553
cpl_propertylist_append_double_complex
cpl_error_code cpl_propertylist_append_double_complex(cpl_propertylist *self, const char *name, double complex value)
Append a double complex value to a property list.
Definition: cpl_propertylist.c:5730
cpl_vector_fill_polynomial
cpl_error_code cpl_vector_fill_polynomial(cpl_vector *v, const cpl_polynomial *p, double x0, double d)
Evaluate a 1D-polynomial on equidistant points using Horners rule.
Definition: cpl_polynomial.c:1172
cpl_fit_image_gaussian
cpl_error_code cpl_fit_image_gaussian(const cpl_image *im, const cpl_image *im_err, cpl_size xpos, cpl_size ypos, cpl_size xsize, cpl_size ysize, cpl_array *parameters, cpl_array *err_params, const cpl_array *fit_params, double *rms, double *red_chisq, cpl_matrix **covariance, double *major, double *minor, double *angle, cpl_matrix **phys_cov)
Fit a 2D gaussian to image values.
Definition: cpl_fit.c:959
cpl_parameter_new_value
cpl_parameter * cpl_parameter_new_value(const char *name, cpl_type type, const char *description, const char *context,...)
Create a new value parameter.
Definition: cpl_parameter.c:936
cpl_table_get_data_float
float * cpl_table_get_data_float(cpl_table *table, const char *name)
Get a pointer to float column data.
Definition: cpl_table.c:3804
cpl_apertures_sort_by_max
cpl_error_code cpl_apertures_sort_by_max(cpl_apertures *self)
Sort by decreasing aperture peak value.
Definition: cpl_apertures.c:916
cpl_plugin_get_synopsis
const char * cpl_plugin_get_synopsis(const cpl_plugin *self)
Get the short description of a plugin.
Definition: cpl_plugin.c:849
cpl_propertylist_append_int
cpl_error_code cpl_propertylist_append_int(cpl_propertylist *self, const char *name, int value)
Append an integer value to a property list.
Definition: cpl_propertylist.c:5367
cpl_image_normalise
cpl_error_code cpl_image_normalise(cpl_image *image, cpl_norm mode)
Normalise pixels in an image.
Definition: cpl_image_basic.c:1852
CPL_FILTER_MORPHO
Definition: cpl_filter.h:258
cpl_frameset_iterator_advance
cpl_error_code cpl_frameset_iterator_advance(cpl_frameset_iterator *self, int distance)
Advance an iterator by a number of elements.
Definition: cpl_frameset.c:2317
cpl_propertylist_insert_double_complex
cpl_error_code cpl_propertylist_insert_double_complex(cpl_propertylist *self, const char *here, const char *name, double complex value)
Insert a double complex value into a property list at the given position.
Definition: cpl_propertylist.c:4096
cpl_table_get_data_double_const
const double * cpl_table_get_data_double_const(const cpl_table *table, const char *name)
Get a pointer to constant double column data.
Definition: cpl_table.c:4112
cpl_array_copy_data_long
cpl_error_code cpl_array_copy_data_long(cpl_array *array, const long *data)
Copy existing data to a long integer array.
Definition: cpl_array.c:682
cpl_image_or_scalar
cpl_error_code cpl_image_or_scalar(cpl_image *self, const cpl_image *first, cpl_bitmask second)
The bit-wise or of a scalar and an image with integer pixels.
Definition: cpl_image_basic.c:1637
cpl_propertylist_set_comment
cpl_error_code cpl_propertylist_set_comment(cpl_propertylist *self, const char *name, const char *comment)
Modify the comment field of the given property list entry.
Definition: cpl_propertylist.c:1772
cpl_propertylist_insert_bool
cpl_error_code cpl_propertylist_insert_bool(cpl_propertylist *self, const char *here, const char *name, int value)
Insert a boolean value into a property list at the given position.
Definition: cpl_propertylist.c:3609
cpl_array_fill_window_string
cpl_error_code cpl_array_fill_window_string(cpl_array *array, cpl_size start, cpl_size count, const char *value)
Write a string to a string array segment.
Definition: cpl_array.c:3261
CPL_STATS_STDEV
Definition: cpl_stats.h:77
cpl_vector_new_lss_kernel
cpl_vector * cpl_vector_new_lss_kernel(double slitw, double fwhm)
Create Right Half of a symmetric smoothing kernel for LSS.
Definition: cpl_vector.c:3154
CPL_STATS_MINPOS
Definition: cpl_stats.h:97
cpl_polynomial_extract
cpl_polynomial * cpl_polynomial_extract(const cpl_polynomial *self, cpl_size dim, const cpl_polynomial *other)
Collapse one dimension of a multi-variate polynomial by composition.
Definition: cpl_polynomial.c:984
cpl_mask_load_window
cpl_mask * cpl_mask_load_window(const char *filename, cpl_size pnum, cpl_size xtnum, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Load a mask from a FITS file.
Definition: cpl_mask.c:2572
cpl_errorstate_dump
void cpl_errorstate_dump(cpl_errorstate self, cpl_boolean reverse, void(*dump_one)(unsigned, unsigned, unsigned))
Dump the CPL error state.
Definition: cpl_errorstate.c:305
cpl_mask_not
cpl_error_code cpl_mask_not(cpl_mask *in)
Performs a logical NOT on a mask.
Definition: cpl_mask.c:1331
cpl_image_turn
cpl_error_code cpl_image_turn(cpl_image *self, int rot)
Rotate an image by a multiple of 90 degrees clockwise.
Definition: cpl_image_basic.c:2737
cpl_table_has_valid
int cpl_table_has_valid(const cpl_table *table, const char *name)
Check if a column contains at least one valid value.
Definition: cpl_table.c:7421
cpl_parameter_get_default_bool
int cpl_parameter_get_default_bool(const cpl_parameter *self)
Get the default value of the given boolean parameter.
Definition: cpl_parameter.c:2352
cpl_imagelist_exponential
cpl_error_code cpl_imagelist_exponential(cpl_imagelist *imlist, double base)
Compute the elementwise exponential of each image in the imlist.
Definition: cpl_imagelist_basic.c:401
cpl_imagelist_load
cpl_imagelist * cpl_imagelist_load(const char *filename, cpl_type im_type, cpl_size xtnum)
Load a FITS file extension into a list of images.
Definition: cpl_imagelist_io.c:110
cpl_table_get_column_depth
cpl_size cpl_table_get_column_depth(const cpl_table *table, const char *name)
Get the depth of a table column.
Definition: cpl_table.c:2986
cpl_table_copy_data_double_complex
cpl_error_code cpl_table_copy_data_double_complex(cpl_table *table, const char *name, const double complex *data)
Copy existing data to a table double complex column.
Definition: cpl_table.c:2738
CPL_BORDER_ZERO
Definition: cpl_filter.h:70
cpl_array_set
cpl_error_code cpl_array_set(cpl_array *array, cpl_size indx, double value)
Write a value to a numerical array element.
Definition: cpl_array.c:2429
cpl_image_fill_window
cpl_error_code cpl_image_fill_window(cpl_image *self, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, double value)
Fill an image window with a constant.
Definition: cpl_image_io.c:1156
cpl_plugin_new
cpl_plugin * cpl_plugin_new(void)
Create a new, empty plugin interface.
Definition: cpl_plugin.c:102
cpl_array_logarithm
cpl_error_code cpl_array_logarithm(cpl_array *array, double base)
Compute the logarithm of array elements.
Definition: cpl_array.c:4419
cpl_msg_set_level_from_env
void cpl_msg_set_level_from_env(void)
Set verbosity level of terminal output using an environment variable.
Definition: cpl_msg.c:1125
cpl_image_get_max_window
double cpl_image_get_max_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
computes maximum pixel value over an image sub-window.
Definition: cpl_image_stats.c:167
cpl_parameter_new_enum
cpl_parameter * cpl_parameter_new_enum(const char *name, cpl_type type, const char *description, const char *context,...)
Create a new enumeration parameter.
Definition: cpl_parameter.c:1179
cpl_image_filter_mask
cpl_error_code cpl_image_filter_mask(cpl_image *self, const cpl_image *other, const cpl_mask *kernel, cpl_filter_mode filter, cpl_border_mode border)
Filter an image using a binary kernel.
Definition: cpl_image_filter.c:240
cpl_fit_lvmq
cpl_error_code cpl_fit_lvmq(const cpl_matrix *x, const cpl_matrix *sigma_x, const cpl_vector *y, const cpl_vector *sigma_y, cpl_vector *a, const int ia[], int(*f)(const double x[], const double a[], double *result), int(*dfda)(const double x[], const double a[], double result[]), double relative_tolerance, int tolerance_count, int max_iterations, double *mse, double *red_chisq, cpl_matrix **covariance)
Fit a function to a set of data.
Definition: cpl_fit.c:263
cpl_image_get_mean
double cpl_image_get_mean(const cpl_image *image)
computes mean pixel value over an image.
Definition: cpl_image_stats.c:222
cpl_test_get_walltime
double cpl_test_get_walltime(void)
Get the process wall-clock time, when available.
Definition: cpl_test.c:241
cpl_image_threshold
cpl_error_code cpl_image_threshold(cpl_image *image_in, double lo_cut, double hi_cut, double assign_lo_cut, double assign_hi_cut)
Threshold an image to a given interval.
Definition: cpl_image_basic.c:2166
cpl_matrix_dump
void cpl_matrix_dump(const cpl_matrix *matrix, FILE *stream)
Print a matrix.
Definition: cpl_matrix.c:352
cpl_parameter_set_int
cpl_error_code cpl_parameter_set_int(cpl_parameter *self, int value)
Assign an integer value to a parameter.
Definition: cpl_parameter.c:1500
cpl_image_normalise_create
cpl_image * cpl_image_normalise_create(const cpl_image *image_in, cpl_norm mode)
Create a new normalised image from an existing image.
Definition: cpl_image_basic.c:1915
CPL_STATS_MAX
Definition: cpl_stats.h:62
cpl_matrix_get_data
double * cpl_matrix_get_data(cpl_matrix *matrix)
Get the pointer to a matrix data buffer, or NULL in case of error.
Definition: cpl_matrix.c:691
cpl_wcs_get_cd
const cpl_matrix * cpl_wcs_get_cd(const cpl_wcs *wcs)
Accessor to get the CD matrix for a WCS.
Definition: cpl_wcs.c:1400
cpl_error_get_line
unsigned cpl_error_get_line(void)
Get the line number where the last CPL error occurred.
Definition: cpl_error.c:576
cpl_test_zero
#define cpl_test_zero(zero)
Evaluate an expression and increment an internal counter if non-zero.
Definition: cpl_test.h:118
cpl_array_divide_scalar_complex
cpl_error_code cpl_array_divide_scalar_complex(cpl_array *array, double complex value)
Divide a complex array by a constant complex value.
Definition: cpl_array.c:4268
cpl_image_get_stdev
double cpl_image_get_stdev(const cpl_image *image)
computes pixel standard deviation over an image.
Definition: cpl_image_stats.c:319
cpl_propertylist_compare_func
int(* cpl_propertylist_compare_func)(const cpl_property *first, const cpl_property *second)
The property comparison function data type.
Definition: cpl_propertylist.h:49
cpl_table_extract
cpl_table * cpl_table_extract(const cpl_table *table, cpl_size start, cpl_size count)
Create a table from a section of another table.
Definition: cpl_table.c:8088
cpl_apertures_get_size
cpl_size cpl_apertures_get_size(const cpl_apertures *self)
Get the number of apertures.
Definition: cpl_apertures.c:262
cpl_parameter_get_name
const char * cpl_parameter_get_name(const cpl_parameter *self)
Get the name of a parameter.
Definition: cpl_parameter.c:1908
cpl_msg_get_domain
const char * cpl_msg_get_domain(void)
Get the domain name.
Definition: cpl_msg.c:1430
cpl_mask_and
cpl_error_code cpl_mask_and(cpl_mask *in1, const cpl_mask *in2)
Performs a logical AND of one mask onto another.
Definition: cpl_mask.c:1161
cpl_matrix_is_zero
int cpl_matrix_is_zero(const cpl_matrix *matrix, double tolerance)
Check for zero matrix.
Definition: cpl_matrix.c:1951
cpl_table_and_selected_int
cpl_size cpl_table_and_selected_int(cpl_table *table, const char *name, cpl_table_select_operator operator, int value)
Select from selected table rows, by comparing integer column values with a constant.
Definition: cpl_table.c:11459
cpl_polynomial_subtract
cpl_error_code cpl_polynomial_subtract(cpl_polynomial *self, const cpl_polynomial *first, const cpl_polynomial *second)
Subtract two polynomials of the same dimension.
Definition: cpl_polynomial.c:1820
cpl_property_set_comment
cpl_error_code cpl_property_set_comment(cpl_property *self, const char *comment)
Modify a property's comment.
Definition: cpl_property.c:1002
CPL_ERROR_UNSPECIFIED
Definition: cpl_error.h:390
cpl_parameterlist_get_next_const
const cpl_parameter * cpl_parameterlist_get_next_const(const cpl_parameterlist *self)
Get the next parameter in the given list.
Definition: cpl_parameterlist.c:330
CPL_FITS_RESTART_CACHING
Definition: cpl_fits.h:62
cpl_vector_fill_kernel_profile
cpl_error_code cpl_vector_fill_kernel_profile(cpl_vector *profile, cpl_kernel type, double radius)
Fill a vector with a kernel profile.
Definition: cpl_vector.c:2576
CPL_FRAME_GROUP_RAW
Definition: cpl_frame.h:142
cpl_matrix_shift
cpl_error_code cpl_matrix_shift(cpl_matrix *matrix, cpl_size rshift, cpl_size cshift)
Shift matrix elements.
Definition: cpl_matrix.c:1683
cpl_table_get_ncol
cpl_size cpl_table_get_ncol(const cpl_table *table)
Get the number of columns in a table.
Definition: cpl_table.c:2900
cpl_parameter_get_enum_string
const char * cpl_parameter_get_enum_string(const cpl_parameter *self, int position)
Get the possible values for a string enumeration.
Definition: cpl_parameter.c:2820
cpl_pluginlist_get_next
cpl_plugin * cpl_pluginlist_get_next(cpl_pluginlist *self)
Get the next plugin from a plugin list.
Definition: cpl_pluginlist.c:362
CPL_STATS_MEDIAN
Definition: cpl_stats.h:72
cpl_mask_set
cpl_error_code cpl_mask_set(cpl_mask *self, cpl_size xpos, cpl_size ypos, cpl_binary value)
Set a value in a mask at a given position.
Definition: cpl_mask.c:892
cpl_image_get_bpm_const
const cpl_mask * cpl_image_get_bpm_const(const cpl_image *img)
Gets the bad pixels map.
Definition: cpl_image_io.c:1620
cpl_dfs_save_paf
cpl_error_code cpl_dfs_save_paf(const char *instrume, const char *recipe, const cpl_propertylist *paflist, const char *filename)
Create a new PAF file.
Definition: cpl_dfs.c:389
CPL_IO_APPEND
Definition: cpl_io.h:79
CPL_ERROR_UNSUPPORTED_MODE
Definition: cpl_error.h:420
CPL_SIZE_FORMAT
#define CPL_SIZE_FORMAT
The format specifier for the type cpl_size.
Definition: cpl_type.h:278
cpl_property_set_float
cpl_error_code cpl_property_set_float(cpl_property *self, float value)
Set the value of a float property.
Definition: cpl_property.c:1327
cpl_image_divide
cpl_error_code cpl_image_divide(cpl_image *im1, const cpl_image *im2)
Divide two images, store the result in the first image.
Definition: cpl_image_basic.c:765
cpl_wlcalib_slitmodel_delete
void cpl_wlcalib_slitmodel_delete(cpl_wlcalib_slitmodel *self)
Free memory associated with a cpl_wlcalib_slitmodel object.
Definition: cpl_wlcalib.c:166
cpl_image_multiply_scalar
cpl_error_code cpl_image_multiply_scalar(cpl_image *self, double scalar)
Elementwise multiplication of an image with a scalar.
Definition: cpl_image_basic.c:1096
cpl_frameset_labelise
cpl_size * cpl_frameset_labelise(const cpl_frameset *self, int(*compare)(const cpl_frame *, const cpl_frame *), cpl_size *nb_labels)
Separate a list of frames into groups, using a comparison function.
Definition: cpl_frameset.c:1481
cpl_matrix_solve_svd
cpl_matrix * cpl_matrix_solve_svd(const cpl_matrix *coeff, const cpl_matrix *rhs)
Solve a linear system in a least square sense using an SVD factorization.
Definition: cpl_matrix.c:5956
cpl_matrix_get_data_const
const double * cpl_matrix_get_data_const(const cpl_matrix *matrix)
Get the pointer to a matrix data buffer, or NULL in case of error.
Definition: cpl_matrix.c:717
cpl_image_get_size_y
cpl_size cpl_image_get_size_y(const cpl_image *img)
Get the image y size.
Definition: cpl_image_io.c:655
cpl_polynomial_set_coeff
cpl_error_code cpl_polynomial_set_coeff(cpl_polynomial *self, const cpl_size *pows, double value)
Set a coefficient of the polynomial.
Definition: cpl_polynomial.c:882
CPL_STATS_MAXPOS
Definition: cpl_stats.h:102
cpl_imagelist_empty
void cpl_imagelist_empty(cpl_imagelist *self)
Empty an imagelist and deallocate all its images.
Definition: cpl_imagelist_io.c:399
cpl_table_get_column_dimension
cpl_size cpl_table_get_column_dimension(const cpl_table *table, const char *name, cpl_size indx)
Get size of one dimension of a table column of arrays.
Definition: cpl_table.c:3169
_cpl_plugin_::execute
cpl_plugin_func execute
Executes a plugin instance.
Definition: cpl_plugin.h:241
cpl_bivector_get_y
cpl_vector * cpl_bivector_get_y(cpl_bivector *in)
Get a pointer to the y vector of the cpl_bivector.
Definition: cpl_bivector.c:443
cpl_propertylist_new
cpl_propertylist * cpl_propertylist_new(void)
Create an empty property list.
Definition: cpl_propertylist.c:1359
cpl_array_dump
void cpl_array_dump(const cpl_array *array, cpl_size start, cpl_size count, FILE *stream)
Print an array.
Definition: cpl_array.c:5311
cpl_apertures_get_top_x
cpl_size cpl_apertures_get_top_x(const cpl_apertures *self, cpl_size ind)
Get the x position of the topmost y position in an aperture.
Definition: cpl_apertures.c:653
CPL_FILTER_DILATION
Definition: cpl_filter.h:119
CPL_IO_EXTEND
Definition: cpl_io.h:75
cpl_property_set_name
cpl_error_code cpl_property_set_name(cpl_property *self, const char *name)
Modify the name of a property.
Definition: cpl_property.c:865
cpl_image_get_centroid_x
double cpl_image_get_centroid_x(const cpl_image *image)
Computes the x centroid value over the whole image.
Definition: cpl_image_stats.c:443
cpl_matrix_fill_row
cpl_error_code cpl_matrix_fill_row(cpl_matrix *matrix, double value, cpl_size row)
Write the same value to a matrix row.
Definition: cpl_matrix.c:1251
cpl_table_set_double
cpl_error_code cpl_table_set_double(cpl_table *table, const char *name, cpl_size row, double value)
Write a value to a double table column element.
Definition: cpl_table.c:6180
cpl_vector_product
double cpl_vector_product(const cpl_vector *v1, const cpl_vector *v2)
Compute the vector dot product.
Definition: cpl_vector.c:1206
cpl_vector_add_scalar
cpl_error_code cpl_vector_add_scalar(cpl_vector *v, double addend)
Elementwise addition of a scalar to a vector.
Definition: cpl_vector.c:2314
cpl_framedata_clear
void cpl_framedata_clear(cpl_framedata *self)
Clear a frame data object.
Definition: cpl_framedata.c:188
cpl_propertylist_get_const
const cpl_property * cpl_propertylist_get_const(const cpl_propertylist *self, long position)
Access property list elements by index.
Definition: cpl_propertylist.c:2471
cpl_image_get_type
cpl_type cpl_image_get_type(const cpl_image *img)
Get the image type.
Definition: cpl_image_io.c:621
cpl_plugin_set_api
cpl_error_code cpl_plugin_set_api(cpl_plugin *self, unsigned int api)
Set the plugin interface version number.
Definition: cpl_plugin.c:338
CPL_VALUE_INF
Definition: cpl_image_bpm.h:72
cpl_vector_save
cpl_error_code cpl_vector_save(const cpl_vector *self, const char *filename, cpl_type type, const cpl_propertylist *pl, unsigned mode)
Save a vector to a FITS file.
Definition: cpl_vector.c:553
cpl_plugin_delete
void cpl_plugin_delete(cpl_plugin *self)
Destroy a plugin.
Definition: cpl_plugin.c:252
cpl_errorstate_dump_one_warning
void cpl_errorstate_dump_one_warning(unsigned self, unsigned first, unsigned last)
Dump a single CPL error using cpl_msg_warning()
Definition: cpl_errorstate.c:429
cpl_msg_set_component_on
void cpl_msg_set_component_on(void)
Attach the component tag to output messages.
Definition: cpl_msg.c:1346
cpl_vector_add
cpl_error_code cpl_vector_add(cpl_vector *v1, const cpl_vector *v2)
Add a cpl_vector to another.
Definition: cpl_vector.c:975
cpl_table_real_column
cpl_error_code cpl_table_real_column(cpl_table *table, const char *name)
Compute the real part value of table column elements.
Definition: cpl_table.c:9497
cpl_array_get_data_double_complex
double complex * cpl_array_get_data_double_complex(cpl_array *array)
Get a pointer to double complex array data.
Definition: cpl_array.c:1730
cpl_table_fill_invalid_long
cpl_error_code cpl_table_fill_invalid_long(cpl_table *table, const char *name, long code)
Write a numerical value to invalid long column elements.
Definition: cpl_table.c:11134
CPL_FILTER_AVERAGE_FAST
Definition: cpl_filter.h:207
cpl_table_conjugate_column
cpl_error_code cpl_table_conjugate_column(cpl_table *table, const char *name)
Compute the complex conjugate of column values.
Definition: cpl_table.c:9301
cpl_array_get_median
double cpl_array_get_median(const cpl_array *array)
Compute the median of a numeric array.
Definition: cpl_array.c:4971
cpl_array_copy_data_float
cpl_error_code cpl_array_copy_data_float(cpl_array *array, const float *data)
Copy existing data to a float array.
Definition: cpl_array.c:781
cpl_table_get_string
const char * cpl_table_get_string(const cpl_table *table, const char *name, cpl_size row)
Read a value from a string column.
Definition: cpl_table.c:5614
cpl_property_get_type
cpl_type cpl_property_get_type(const cpl_property *self)
Get the type of a property.
Definition: cpl_property.c:771
_cpl_plugin_::deinitialize
cpl_plugin_func deinitialize
Deinitialization a plugin instance.
Definition: cpl_plugin.h:254
cpl_polynomial_fit
cpl_error_code cpl_polynomial_fit(cpl_polynomial *self, const cpl_matrix *samppos, const cpl_boolean *sampsym, const cpl_vector *fitvals, const cpl_vector *fitsigm, cpl_boolean dimdeg, const cpl_size *mindeg, const cpl_size *maxdeg)
Fit a polynomial to a set of samples in a least squares sense.
Definition: cpl_polynomial.c:1369
cpl_dfs_update_product_header
cpl_error_code cpl_dfs_update_product_header(cpl_frameset *self)
Perform any DFS-compliancy required actions (DATAMD5/PIPEFILE update)
Definition: cpl_dfs.c:1331
cpl_vector_delete
void cpl_vector_delete(cpl_vector *v)
Delete a cpl_vector.
Definition: cpl_vector.c:228
cpl_table_copy_data_int
cpl_error_code cpl_table_copy_data_int(cpl_table *table, const char *name, const int *data)
Copy existing data to a table integer column.
Definition: cpl_table.c:2432
cpl_table_has_column
int cpl_table_has_column(const cpl_table *table, const char *name)
Check if a column with a given name exists.
Definition: cpl_table.c:7735
_cpl_type_
_cpl_type_
The CPL type codes and flags.
Definition: cpl_type.h:37
cpl_parameter_is_enabled
int cpl_parameter_is_enabled(const cpl_parameter *self, cpl_parameter_mode mode)
Get the parameter's activity status for the environment context.
Definition: cpl_parameter.c:3610
cpl_image_get_complex
double complex cpl_image_get_complex(const cpl_image *image, cpl_size xpos, cpl_size ypos, int *pis_rejected)
Get the value of a complex pixel at a given position.
Definition: cpl_image_io.c:784
cpl_table_get_double_complex
double complex cpl_table_get_double_complex(const cpl_table *table, const char *name, cpl_size row, int *null)
Read a value from a double complex column.
Definition: cpl_table.c:5541
cpl_array_subtract_scalar_complex
cpl_error_code cpl_array_subtract_scalar_complex(cpl_array *array, double complex value)
Subtract a constant complex value from a complex array.
Definition: cpl_array.c:4074
CPL_FRAME_LEVEL_TEMPORARY
Definition: cpl_frame.h:192
cpl_stats_get_mad
double cpl_stats_get_mad(const cpl_stats *in)
Get the median of the absolute median deviation.
Definition: cpl_stats.c:195
cpl_table_divide_scalar
cpl_error_code cpl_table_divide_scalar(cpl_table *table, const char *name, double value)
Divide a numerical or complex column by a constant.
Definition: cpl_table.c:8991
cpl_stats
struct _cpl_stats_ cpl_stats
The opaque CPL stats data type.
Definition: cpl_stats.h:138
CPL_ERROR_FILE_NOT_FOUND
Definition: cpl_error.h:406
cpl_propertylist_insert_after_bool
cpl_error_code cpl_propertylist_insert_after_bool(cpl_propertylist *self, const char *after, const char *name, int value)
Insert a boolean value into a property list after the given position.
Definition: cpl_propertylist.c:4210
cpl_table_fill_column_window_long
cpl_error_code cpl_table_fill_column_window_long(cpl_table *table, const char *name, cpl_size start, cpl_size count, long value)
Write a value to an long column segment.
Definition: cpl_table.c:6703
cpl_table_unselect_row
cpl_error_code cpl_table_unselect_row(cpl_table *table, cpl_size row)
Flag a table row as unselected.
Definition: cpl_table.c:10320
cpl_propertylist_set_string
cpl_error_code cpl_propertylist_set_string(cpl_propertylist *self, const char *name, const char *value)
Set the value of the given string property list entry.
Definition: cpl_propertylist.c:2297
cpl_array_copy_data_long_long
cpl_error_code cpl_array_copy_data_long_long(cpl_array *array, const long long *data)
Copy existing data to a long long integer array.
Definition: cpl_array.c:716
cpl_error_get_where
const char * cpl_error_get_where(void)
Get function name, source file and line number where the last CPL error occurred.
Definition: cpl_error.c:517
cpl_matrix_get_min
double cpl_matrix_get_min(const cpl_matrix *matrix)
Find the minimum value of matrix elements.
Definition: cpl_matrix.c:4967
cpl_vector_divide_scalar
cpl_error_code cpl_vector_divide_scalar(cpl_vector *v, double divisor)
Elementwise division of a vector with a scalar.
Definition: cpl_vector.c:2409
CPL_TYPE_SHORT
Definition: cpl_type.h:79
cpl_msg_indent_more
void cpl_msg_indent_more(void)
Increase the message indentation by one indentation step.
Definition: cpl_msg.c:1536
cpl_array_get_data_string_const
const char ** cpl_array_get_data_string_const(const cpl_array *array)
Get a pointer to constant string array data.
Definition: cpl_array.c:1903
cpl_bivector_get_x_const
const cpl_vector * cpl_bivector_get_x_const(const cpl_bivector *in)
Get a pointer to the x vector of the cpl_bivector.
Definition: cpl_bivector.c:422
cpl_propertylist_save
cpl_error_code cpl_propertylist_save(const cpl_propertylist *self, const char *filename, unsigned mode)
Save a property list to a FITS file.
Definition: cpl_propertylist.c:7999
cpl_table_unselect_all
cpl_error_code cpl_table_unselect_all(cpl_table *table)
Unselect all table rows.
Definition: cpl_table.c:10383
cpl_error_set
#define cpl_error_set(function, code)
Set CPL error code, function name, source file and line number where an error occurred.
Definition: cpl_error.h:250
cpl_photom_fill_blackbody
cpl_error_code cpl_photom_fill_blackbody(cpl_vector *spectrum, cpl_unit out_unit, const cpl_vector *evalpoints, cpl_unit in_unit, double temp)
The Planck radiance from a black-body.
Definition: cpl_photom.c:108
CPL_MATH_PI
#define CPL_MATH_PI
The ratio of a circles circumference to its diameter.
Definition: cpl_math_const.h:79
cpl_parameter_get_enum_double
double cpl_parameter_get_enum_double(const cpl_parameter *self, int position)
Get the possible values for a double enumeration.
Definition: cpl_parameter.c:2737
cpl_table_new
cpl_table * cpl_table_new(cpl_size length)
Create an empty table structure.
Definition: cpl_table.c:1458
cpl_bivector_get_y_data
double * cpl_bivector_get_y_data(cpl_bivector *in)
Get a pointer to the y data part of the cpl_bivector.
Definition: cpl_bivector.c:526
cpl_image_get_data_float
float * cpl_image_get_data_float(cpl_image *img)
Get the data as a float array.
Definition: cpl_image_io.c:1669
cpl_propertylist_update_long_long
cpl_error_code cpl_propertylist_update_long_long(cpl_propertylist *self, const char *name, long long value)
Update a property list with a long long value.
Definition: cpl_propertylist.c:6435
cpl_memory_is_empty
int cpl_memory_is_empty(void)
Tell if there is some memory allocated.
Definition: cpl_memory.c:406
cpl_mask_count
cpl_size cpl_mask_count(const cpl_mask *in)
Get the number of occurences of CPL_BINARY_1.
Definition: cpl_mask.c:1073
cpl_table_fill_column_window_array
cpl_error_code cpl_table_fill_column_window_array(cpl_table *table, const char *name, cpl_size start, cpl_size count, const cpl_array *array)
Write an array to an array column segment.
Definition: cpl_table.c:7198
cpl_error_get_message
const char * cpl_error_get_message(void)
Get the text message of the current CPL error.
Definition: cpl_error.c:444
cpl_vector_convolve_symmetric
cpl_error_code cpl_vector_convolve_symmetric(cpl_vector *smoothed, const cpl_vector *conv_kernel)
Convolve a 1d-signal with a symmetric 1D-signal.
Definition: cpl_vector.c:3181
cpl_frame_get_level
cpl_frame_level cpl_frame_get_level(const cpl_frame *self)
Get the current level of a frame.
Definition: cpl_frame.c:564
CPL_ERROR_NONE
Definition: cpl_error.h:388
cpl_table_set_string
cpl_error_code cpl_table_set_string(cpl_table *table, const char *name, cpl_size row, const char *value)
Write a character string to a string table column element.
Definition: cpl_table.c:6303
CPL_PARAMETER_MODE_CFG
Definition: cpl_parameter.h:62
cpl_imagelist_new
cpl_imagelist * cpl_imagelist_new(void)
Create an empty imagelist.
Definition: cpl_imagelist_io.c:77
cpl_parameterlist_get_size
cpl_size cpl_parameterlist_get_size(const cpl_parameterlist *self)
Get the current size of a parameter list.
Definition: cpl_parameterlist.c:148
cpl_image_or
cpl_error_code cpl_image_or(cpl_image *self, const cpl_image *first, const cpl_image *second)
The bit-wise or of two images with integer pixels.
Definition: cpl_image_basic.c:1404
cpl_version_get_binary_version
unsigned int cpl_version_get_binary_version(void)
Get the library's binary version number.
Definition: cpl_version.c:166
cpl_imagelist_get_const
const cpl_image * cpl_imagelist_get_const(const cpl_imagelist *imlist, cpl_size inum)
Get an image from a list of images.
Definition: cpl_imagelist_io.c:228
cpl_image_subtract_create
cpl_image * cpl_image_subtract_create(const cpl_image *image1, const cpl_image *image2)
Subtract two images.
Definition: cpl_image_basic.c:312
CPL_FFT_FIND_EXHAUSTIVE
Definition: cpl_fft.h:75
CPL_DFS_SIGNATURE_CHECKSUM
Definition: cpl_dfs.h:114
cpl_table_wrap_int
cpl_error_code cpl_table_wrap_int(cpl_table *table, int *data, const char *name)
Create in table a new integer column obtained from existing data.
Definition: cpl_table.c:1913
cpl_array_fill_window_complex
cpl_error_code cpl_array_fill_window_complex(cpl_array *array, cpl_size start, cpl_size count, double complex value)
Write the same value within a complex array segment.
Definition: cpl_array.c:2889
cpl_table_or_selected_invalid
cpl_size cpl_table_or_selected_invalid(cpl_table *table, const char *name)
Select from unselected table rows all rows with an invalid value in a specified column.
Definition: cpl_table.c:14356
CPL_MULTIFRAME_ID_PREFIX
Definition: cpl_multiframe.h:127
cpl_propertylist_insert_after_long_long
cpl_error_code cpl_propertylist_insert_after_long_long(cpl_propertylist *self, const char *after, const char *name, long long value)
Insert a long long value into a property list after the given position.
Definition: cpl_propertylist.c:4396
cpl_detector_interpolate_rejected
cpl_error_code cpl_detector_interpolate_rejected(cpl_image *self)
Interpolate any bad pixels in an image and delete the bad pixel map.
Definition: cpl_detector.c:461
cpl_table_erase_window
cpl_error_code cpl_table_erase_window(cpl_table *table, cpl_size start, cpl_size count)
Delete a table segment.
Definition: cpl_table.c:4574
cpl_image_dump_window
cpl_error_code cpl_image_dump_window(const cpl_image *self, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, FILE *stream)
Dump pixel values in a CPL image.
Definition: cpl_image_io.c:2617
_cpl_value_
_cpl_value_
The special values that can be rejected They are a bit-field and can be combined with bitwise or.
Definition: cpl_image_bpm.h:44
cpl_propertylist_append_long
cpl_error_code cpl_propertylist_append_long(cpl_propertylist *self, const char *name, long value)
Append a long value to a property list.
Definition: cpl_propertylist.c:5419
cpl_image_get_sqflux_window
double cpl_image_get_sqflux_window(const cpl_image *image, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury)
Computes the sum of squared values over an image sub-window.
Definition: cpl_image_stats.c:396
cpl_table_fill_column_window_string
cpl_error_code cpl_table_fill_column_window_string(cpl_table *table, const char *name, cpl_size start, cpl_size count, const char *value)
Write a character string to a string column segment.
Definition: cpl_table.c:7120
cpl_frameset_iterator_reset
void cpl_frameset_iterator_reset(cpl_frameset_iterator *self)
Reset a frame set iterator to the beginning of a frame set.
Definition: cpl_frameset.c:2263
cpl_image_get_minpos
cpl_error_code cpl_image_get_minpos(const cpl_image *image, cpl_size *px, cpl_size *py)
Computes minimum pixel value and position over an image.
Definition: cpl_image_stats.c:570
cpl_wcs_get_crpix
const cpl_array * cpl_wcs_get_crpix(const cpl_wcs *wcs)
Accessor to get the CRPIX vector for a WCS.
Definition: cpl_wcs.c:1262
cpl_bitmask
uint64_t cpl_bitmask
The CPL bitmask type for bitmask operations.
Definition: cpl_type.h:224
_cpl_plugin_type_
_cpl_plugin_type_
Definition of plugin types.
Definition: cpl_plugin.h:52
cpl_propertylist_insert_after_float
cpl_error_code cpl_propertylist_insert_after_float(cpl_propertylist *self, const char *after, const char *name, float value)
Insert a float value into a property list after the given position.
Definition: cpl_propertylist.c:4459
cpl_matrix_solve_chol
cpl_error_code cpl_matrix_solve_chol(const cpl_matrix *self, cpl_matrix *rhs)
Solve a L*transpose(L)-system.
Definition: cpl_matrix.c:4378
cpl_vector_logarithm
cpl_error_code cpl_vector_logarithm(cpl_vector *v, double base)
Compute the element-wise logarithm.
Definition: cpl_vector.c:2445
cpl_polynomial_multiply_scalar
cpl_error_code cpl_polynomial_multiply_scalar(cpl_polynomial *self, const cpl_polynomial *other, double factor)
Multiply a polynomial with a scalar.
Definition: cpl_polynomial.c:1950
cpl_propertylist_append_char
cpl_error_code cpl_propertylist_append_char(cpl_propertylist *self, const char *name, char value)
Append a character value to a property list.
Definition: cpl_propertylist.c:5263
cpl_property_set_float_complex
cpl_error_code cpl_property_set_float_complex(cpl_property *self, float complex value)
Set the value of a complex float property.
Definition: cpl_property.c:1559
cpl_apertures_sort_by_npix
cpl_error_code cpl_apertures_sort_by_npix(cpl_apertures *self)
Sort by decreasing aperture size.
Definition: cpl_apertures.c:834
cpl_init
void cpl_init(unsigned self)
Initialise the CPL core library.
Definition: cpl_init.c:105
cpl_mask_get_size_y
cpl_size cpl_mask_get_size_y(const cpl_mask *in)
Get the y size of the mask.
Definition: cpl_mask.c:938
cpl_propertylist_insert_char
cpl_error_code cpl_propertylist_insert_char(cpl_propertylist *self, const char *here, const char *name, char value)
Insert a character value into a property list at the given position.
Definition: cpl_propertylist.c:3547
cpl_image_add
cpl_error_code cpl_image_add(cpl_image *im1, const cpl_image *im2)
Add two images, store the result in the first image.
Definition: cpl_image_basic.c:673
CPL_ERROR_HISTORY_LOST
Definition: cpl_error.h:392
cpl_property_get_name
const char * cpl_property_get_name(const cpl_property *self)
Get the property name.
Definition: cpl_property.c:1722
cpl_frameset_delete
void cpl_frameset_delete(cpl_frameset *self)
Destroy a frame set.
Definition: cpl_frameset.c:539
cpl_image_add_scalar
cpl_error_code cpl_image_add_scalar(cpl_image *self, double scalar)
Elementwise addition of a scalar to an image.
Definition: cpl_image_basic.c:1016
cpl_framedata_new
cpl_framedata * cpl_framedata_new(void)
Create an new frame data object.
Definition: cpl_framedata.c:77
CPL_FILTER_MEDIAN
Definition: cpl_filter.h:218
cpl_array_copy_data_double
cpl_error_code cpl_array_copy_data_double(cpl_array *array, const double *data)
Copy existing data to a double array.
Definition: cpl_array.c:840
cpl_stats_get_npix
cpl_size cpl_stats_get_npix(const cpl_stats *in)
Get the number of pixels from a cpl_stats object.
Definition: cpl_stats.c:379
cpl_mask_get_size_x
cpl_size cpl_mask_get_size_x(const cpl_mask *in)
Get the x size of the mask.
Definition: cpl_mask.c:921
cpl_image_warp_polynomial
cpl_error_code cpl_image_warp_polynomial(cpl_image *out, const cpl_image *in, const cpl_polynomial *poly_x, const cpl_polynomial *poly_y, const cpl_vector *xprofile, double xradius, const cpl_vector *yprofile, double yradius)
Warp an image according to a 2D polynomial transformation.
Definition: cpl_image_resample.c:319
cpl_image_get_centroid_y
double cpl_image_get_centroid_y(const cpl_image *image)
Computes the y centroid value over the whole image.
Definition: cpl_image_stats.c:479
cpl_array_get_size
cpl_size cpl_array_get_size(const cpl_array *array)
Get the length of an array.
Definition: cpl_array.c:985
CPL_REGEX_ICASE
Definition: cpl_multiframe.h:46
cpl_version_get_major
unsigned int cpl_version_get_major(void)
Get the library's major version number.
Definition: cpl_version.c:60
cpl_apertures_get_centroid_x
double cpl_apertures_get_centroid_x(const cpl_apertures *self, cpl_size ind)
Get the X-centroid of an aperture.
Definition: cpl_apertures.c:360
cpl_vector_cycle
cpl_error_code cpl_vector_cycle(cpl_vector *self, const cpl_vector *other, double shift)
Perform a cyclic shift to the right of the elements of a vector.
Definition: cpl_vector.c:1116
cpl_imagelist_collapse_create
cpl_image * cpl_imagelist_collapse_create(const cpl_imagelist *imlist)
Average an imagelist to a single image.
Definition: cpl_imagelist_basic.c:605
cpl_msg_set_time_on
void cpl_msg_set_time_on(void)
Attach a time tag to output messages.
Definition: cpl_msg.c:1197