Cdshealpix

Latest version: v0.6.5

Safety actively analyzes 634645 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.5.0

Released 2020-03-04.

Added

* Add a MOC module for testing purpose
+ Add MOC compression/decompression iterators
+ Add logical MOC operations (not, and, or) taking iterators and returning iterators
+ Add Cells to Range and Range to Cells conversion (iterator based too)
* Add the method `test_coo` in `BMOC`

--------------------------------------------------------------------------------

0.4.1

Released 2020-02-11.

Changed

* Transform methods in `const`, add `dyn` for trait objects.
* Add an enum implementing the `ZOrderCurve` trait to allow...
* ... the usage of a `const fn` to compute `Layers` structs at compile time.
* Replace a few constants by the ones defined in the Rust standard library

Added

* `to_uniq`, `from_uniq`, `to_uniq_ivo` and `from_uniq_ivoa` to handle
uniq hash notation (i.e. uniq value for all possible (depth, hash) tuples).
* Add BMOC lossy compression/decompression


Bug correction

* Fix `polygon_coverage` bug due to a bug in `great_circle_arcs_are_overlapping_in_lon`
when a great circle crosses the RA=0 meridian.


--------------------------------------------------------------------------------

0.4.0

Released 2019-11-14.

Changed

* Do not requires `nighlty` any more (replace built-in bench by Criterion)
* Change `hash` internals (improve performance and fix specific cases)

Bug correction

* Polygon specific case (by fixing the hash method)
* `hash`: fix very specific cases (lon = n * PI/2) in the South polar cap

--------------------------------------------------------------------------------

0.3.2

Released 2019-09-05.

Added

* `hash_with_dxdy` algo to be ported in glsl (WebGL) for AladinLite: is takes
in input a vector (x, y, z) made of 3 single precision floats.
Most graphics cards being limited to single precision, the method is able to
provided indices at a maximum depth of 14. At depth 13, the precision
on dx and dy is better than 1/512 (<=> images at order 13 + 9).

Bug correction

* Fix NESTED `bilinear_interpolation`: ~1/4 of cases in which 2 out of 4 HEALPix
cell numbers where swapped

--------------------------------------------------------------------------------

0.3.1

Released 2019-08-19.

Bug correction

* Fix NESTED `hash` rare panic due to numerical inaccuracies

--------------------------------------------------------------------------------

0.3.0

Released 2019-06-25.

Added

* Added in the NESTED scheme
+ `sph_coo`: spherical coordinates from an HEALPix cell + offsets `(dx, dy)`
+ `hash_with_dxdy`: hash value together with the `(dx, dy)` offsets
+ `path_along_cell_side`: provides points along a cell side
+ `path_along_cell_edge`: provides points along a cell edge
+ `bilinear_interpolation`: bilinear interpolation on the nested scheme
+ set `center_of_projected_cell` public
* Support of ring in NESTED:
+ `to_ring`: convert a NESTED index into a RING index
+ `from_ring`: convert a RING index into a NESTED index
* Starts supporting the RING scheme
+ `hash`: compute the RING number from (lon, lat) coordinates
+ `hash_with_dxdy`: compute the RING number from (lon, lat) coordinates and additionally provide the offsets (dx, dy) in the cell
+ `center`: get the coordiates of the center of a RING cell
+ `center_of_projected_cell`: like center, but coordinates are gicen in the Euclidean projection plane
+ `sph_coo`: get a coordinate on the sphere from a cell and a position (dx, dy) in the cell
+ `vertices`: provide the 4 vertices of a given cell
* All
+ `base_cell_from_proj_coo`: experiment to be tested

Bug correction

* Fix polygon potential bug (see method `is_in_lon_range`)

--------------------------------------------------------------------------------

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.