Permalink
Switch branches/tags
Nothing to show
Commits on Jun 30, 2014
  1. New API for hpix_resolution_t

    ziotom78 committed Jun 30, 2014
    The old way of dealing with hpix_resolution_t was difficult to use with FFIs, as it required to access every member of the structure. The API has changed so that now hpix_resolution_t is dynamically allocated on the heap, and helper functions provide access to its most important members. Beware that this commit breaks API compatibility!
Commits on Jun 22, 2014
  1. Improved test coverage for hpix_angles_to_ring_pixel and hpix_angles_…

    ziotom78 committed Jun 22, 2014
    …to_nest_pixel
    
    The number of tests for these functions has been greatly increased, and now it samples
    the whole sphere uniformly. This allows to test every branch of the implementation of the two functions.
Commits on Dec 5, 2013
  1. Updates to the documentation

    ziotom78 committed Dec 5, 2013
  2. A few typedefs have been updated after the switch from 'hpix_nside_t'…

    ziotom78 committed Dec 5, 2013
    … to 'const hpix_resolution_t *'
  3. New API for a number of pixel-related functions

    ziotom78 committed Dec 5, 2013
    All the functions that convert a pixel index into a direction and
    vice versa do no longer accept a NSIDE parameter, but instead
    a hpix_resolution_t structure. This allows to avoid repeating some
    calculations a lot of time.
  4. Support for OpenMP added

    ziotom78 committed Dec 5, 2013
    The configure script is now able to detect OpenMP and use it for
    compilation and linking. The function hpix_bmp_projection_trace has
    been modified to use OpenMP: the speed up is not large, but it is a
    nice way to check that OpenMP works within HPixLib.
Commits on Oct 15, 2013
  1. A bug found when reading FITS files has been fixed.

    ziotom78 committed Oct 15, 2013
    Every time a map containing unseen pixels was read by "hpix_load_fits_component_from_fitsptr", there was a SEGFAULT. This was caused by passing NULL to the "anynull" parameter of fits_read_col_dbl: the CFITSIO manual does not say a word about it, but it seems that the function does not check if the pointer is NULL or not.
    
    The body of the function has been simplified.
Commits on Sep 12, 2013
Commits on Jun 21, 2013
  1. C99-isms removed from header files.

    ziotom78 committed Jun 21, 2013
    In this way, one is not forced to use a C99 compiler to use HPixLib (although to compile the library itself you need it, sure you do!).
  2. Header files have been reorganized and explained in the documentation.

    ziotom78 committed Jun 21, 2013
    Many changes: (1) the file config.h is now properly used (hopefully) everywhere; (2) Cairo-related functions have been moved from hpixlib/hpix.h to hpixlib/hpix-cairo.h; (3) the documentation has now a new section called "Using the library".
Commits on Jun 6, 2013
  1. Minus signs are correctly typeset by map2fig in labels.

    ziotom78 committed Jun 6, 2013
    The symbol UNICODE MINUS SIGN (U+2212) is now used instead of
    an hyphen in drawing the color bar labels.
Commits on May 29, 2013
  1. New support for the equirectangular projection.

    ziotom78 committed May 29, 2013
    A lot of changes in the internal structure of the code, to allow bitmap functions to work with different projections. The utility map2fig now accepts the --projection and --list-projections commands.
  2. Short comment added.

    ziotom78 committed May 29, 2013
Commits on May 24, 2013
  1. Missing file added

    ziotom78 committed May 24, 2013
  2. New (empty) functions hpix_calc_angular_distance_from_vectors and hpi…

    ziotom78 committed May 24, 2013
    …x_calc_angular_distance_from_angles
    
    Test cases are already in place, but both functions are not implemented yet.
Commits on May 22, 2013
  1. Mathematical simplification in hpix_mollweide_xy_to_angles.

    ziotom78 committed May 22, 2013
    sqrt((1-v) * (1+v)) -> cos(asin(v)) (since asin(v) already needs to be calculated).
Commits on May 21, 2013
  1. hpix_3d_vector_t -> hpix_vector_t (and *_3dvec_* functions renamed as…

    ziotom78 committed May 21, 2013
    … well)
    
    Functions containing the "3dvec" string in the name (e.g. hpix_angles_to_3dvect) have been changed to use "vector" instead (hpix_angles_to_vector).
Commits on May 20, 2013
  1. New function hpix_normalize_vector, more test cases.

    ziotom78 committed May 20, 2013
    Functions hpix_vector_length and hpix_dot_product are now covered by test cases.