Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 30, 2014
  1. New API for hpix_resolution_t

    authored
    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_…

    authored
    …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

    authored
  2. A few typedefs have been updated after the switch from 'hpix_nside_t'…

    authored
    … to 'const hpix_resolution_t *'
  3. New API for a number of pixel-related functions

    authored
    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

    authored
    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.

    authored
    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.

    authored
    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.

    authored
    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.

    authored
    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.

    authored
    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.

    authored
Commits on May 24, 2013
  1. Missing file added

    authored
  2. New (empty) functions hpix_calc_angular_distance_from_vectors and hpi…

    authored
    …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.

    authored
    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…

    authored
    … 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.

    authored
    Functions hpix_vector_length and hpix_dot_product are now covered by test cases.
Something went wrong with that request. Please try again.