Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cds-astro/cds-healpix-rust
/ functions
Functions
1,426 in github.com/cds-astro/cds-healpix-rust
⨍
Functions
1,426
◇
Types & classes
285
↓ 293 callers
Method
push
(&mut self, depth: u8, hash: u64, is_full: bool)
src/nested/bmoc.rs:67
↓ 183 callers
Method
iter
Iterator on the BMOC **raw values**. Raw values contains: the depth if the cell; the cell number; a flag telling if the cell is fully covered or not.
src/nested/bmoc.rs:1115
↓ 117 callers
Method
next
(&self)
src/nested/map/mom/impls/zvec.rs:356
↓ 115 callers
Method
next
(&mut self)
src/nested/bmoc.rs:1859
↓ 108 callers
Method
len
(&self)
src/nested/moc/mod.rs:339
↓ 102 callers
Method
next
(&mut self)
src/nested/sort/mod.rs:709
↓ 100 callers
Method
z
(&self)
src/sph_geom/coo3d.rs:97
↓ 85 callers
Function
get
(depth: u8)
src/nested/mod.rs:121
↓ 80 callers
Method
pow2
(self)
src/lib.rs:344
↓ 78 callers
Method
y
(&self)
src/sph_geom/coo3d.rs:92
↓ 71 callers
Method
into_iter
(self)
src/nested/bmoc.rs:2064
↓ 63 callers
Method
lon
(&self)
src/sph_geom/coo3d.rs:382
↓ 63 callers
Method
x
(&self)
src/sph_geom/coo3d.rs:87
↓ 54 callers
Method
flat_iter
Returns an iterator iterating over all cells at the BMOC maximum depth (the iteration is made in the natural cell order).
src/nested/bmoc.rs:1121
↓ 49 callers
Method
write_all
(&self, keyword_records: &mut ChunksMut<u8>)
src/nested/map/fits/keywords.rs:499
↓ 44 callers
Method
to_bmoc
(&self)
test/src/lib.rs:45
↓ 37 callers
Function
base_cell
(i: u8, j: u8)
src/lib.rs:1683
↓ 35 callers
Method
len
Returns the number of values stored in the [NorderLeaves].
src/nested/map/mom/impls/ported_from_mom_builder/norder_leaves.rs:50
↓ 35 callers
Function
n_hash
(depth: u8)
src/nested/mod.rs:229
↓ 35 callers
Method
scalar
(&self, rhs: &T)
src/nested/map/astrometry/math.rs:132
↓ 34 callers
Function
write_uint_mandatory_keyword_record
(dest: &mut [u8], keyword: &[u8; 8], val: u64)
src/nested/map/fits/write.rs:172
↓ 33 callers
Method
contains
(&self, coo: &Coo3D)
src/sph_geom/mod.rs:151
↓ 33 callers
Function
polygon_coverage
(depth: u8, vertices: &[(f64, f64)], exact_solution: bool)
src/nested/mod.rs:492
↓ 32 callers
Method
expect
(self, msg: &str)
src/nested/map/mom/impls/ported_from_mom_builder/exclusive_option.rs:13
↓ 31 callers
Method
hash
Returns the cell number (hash value) associated with the given position on the unit sphere # Inputs - `lon`: longitude in radians, support reasonably
src/nested/mod.rs:589
↓ 30 callers
Method
pop
Removes the last inserted value. The method panics if the [NorderLeaves] is empty.
src/nested/map/mom/impls/ported_from_mom_builder/norder_leaves.rs:44
↓ 29 callers
Method
get_depth_max
(&self)
src/nested/bmoc.rs:506
↓ 28 callers
Function
get_str_val_no_quote
We know that the expected value does not contains a simple quote. A trim_end is applied so that the result does not contain leading or trailing spaces
src/nested/map/fits/read.rs:635
↓ 27 callers
Method
neighbours
Returns the hash values of all the neighbour cells of the cell of given hash (8-connected). The given cell itself can be included (setting the `includ
src/nested/mod.rs:1607
↓ 26 callers
Method
next
(&mut self)
src/nested/moc/op.rs:161
↓ 26 callers
Function
to_zuniq
(depth: u8, hash: u64)
src/nested/mod.rs:178
↓ 25 callers
Method
get
(&self)
src/nested/map/fits/keywords.rs:135
↓ 25 callers
Method
to_fits_file
( &self, path: P, value_name: T, )
src/nested/map/mom/mod.rs:424
↓ 24 callers
Function
check_keyword_and_val
Check the given 'expected_val' including the delimiting simple quotes and possible spaces inside the simple quotes in case of String value. It is made
src/nested/map/fits/read.rs:470
↓ 24 callers
Method
get_mom
(&self)
src/nested/map/mom/impls/bslice.rs:270
↓ 24 callers
Function
write_str_keyword_record
(dest: &mut [u8], keyword: &[u8; 8], val: &str)
src/nested/map/fits/write.rs:156
↓ 23 callers
Method
center
(&self, hash: u64)
src/nested/mod.rs:1176
↓ 22 callers
Method
into_implicit_map
(self, null_value: V)
src/nested/map/skymap/explicit.rs:56
↓ 22 callers
Method
y
(&self)
src/nested/map/astrometry/math.rs:190
↓ 21 callers
Function
write_keyword_record
# Params - `dest` destination, must contains 80 bytes - `value_part` is string, must be already quote: `'str_value'`
src/nested/map/fits/write.rs:163
↓ 20 callers
Method
depth
(&self)
src/nested/sort/cindex.rs:622
↓ 20 callers
Method
get
(&self)
crates/cli/src/map.rs:452
↓ 20 callers
Method
ij2h
(&self, _i: u32, _j: u32)
src/nested/zordercurve.rs:384
↓ 19 callers
Method
build_hash_from_parts_opt
(&self, d0h: u8, i: u32, j: u32)
src/nested/mod.rs:802
↓ 19 callers
Method
lat
(&self)
src/sph_geom/coo3d.rs:387
↓ 19 callers
Function
to_skymap_png
# Params `skymap`: the skymap to be print; `size`: the `(X, Y)` number of pixels in the image; `proj`: a projection, if different from Mollweide; `pro
src/nested/map/img.rs:758
↓ 18 callers
Function
base_cell_opt
(i: u8, j: u8)
src/lib.rs:1672
↓ 18 callers
Method
build_hash_from_parts
(&self, d0h: u8, i: u32, j: u32)
src/nested/mod.rs:797
↓ 18 callers
Method
degrade_sum
(self, new_depth: u8)
src/nested/map/skymap/explicit.rs:176
↓ 18 callers
Function
dot_product
(v1: &T1, v2: &T2)
src/sph_geom/coo3d.rs:207
↓ 18 callers
Function
iden
(mod4: u8)
src/lib.rs:1666
↓ 18 callers
Method
x
(&self)
src/nested/map/astrometry/math.rs:187
↓ 17 callers
Function
load_sdss
()
test/src/lib.rs:101
↓ 17 callers
Method
neighbour_from_parts
(&self, d0h: u8, i: u32, j: u32, dir: MainWind)
src/nested/mod.rs:2261
↓ 17 callers
Method
z
(&self)
src/nested/map/astrometry/math.rs:193
↓ 16 callers
Function
bits_2_hash
(d0h_bits: u64, i_in_d0h_bits: u64, j_in_d0h_bits: u64)
src/nested/mod.rs:4657
↓ 16 callers
Function
check_keyword_and_str_val
( keyword_record: &[u8], expected_kw: &[u8], expected_val: &[u8], )
src/nested/map/fits/read.rs:486
↓ 16 callers
Function
cross_product
(v1: T1, v2: T2)
src/sph_geom/coo3d.rs:216
↓ 16 callers
Method
index
(&self)
src/compass_point.rs:58
↓ 16 callers
Method
len
(&self)
crates/wasm/src/lib.rs:379
↓ 16 callers
Function
unproj
(x: f64, y: f64)
src/lib.rs:1284
↓ 15 callers
Function
get_zoc
Returns a zorder curve trait implementation according to the given depth.
src/nested/zordercurve.rs:1023
↓ 15 callers
Function
next
(mod4: u8)
src/lib.rs:1652
↓ 15 callers
Function
prev
(mod4: u8)
src/lib.rs:1645
↓ 14 callers
Method
as_implicit_skymap_array
(&self)
src/nested/map/skymap/implicit.rs:263
↓ 14 callers
Method
not
Returns the BMOC complement: - cells with flag set to 1 (fully covered) are removed - cells with flag set to 0 (partially covered) are kept - empty ce
src/nested/bmoc.rs:585
↓ 14 callers
Function
shs_computer
(cone_lon: f64, cone_lat: f64, cos_cone_lat: f64)
src/nested/mod.rs:4766
↓ 14 callers
Method
to_bmoc
(mut self)
src/nested/bmoc.rs:105
↓ 14 callers
Function
write_explicit_skymap_fits
(mut writer: R, skymap: &'a S)
src/nested/map/fits/write.rs:73
↓ 13 callers
Method
is_empty
Returns true if the [NorderLeaves] is empty.
src/nested/map/mom/impls/ported_from_mom_builder/norder_leaves.rs:55
↓ 13 callers
Method
len
(&self)
src/nested/sort/cindex.rs:1609
↓ 13 callers
Function
zone_coverage
(depth: u8, lon_min: f64, lat_min: f64, lon_max: f64, lat_max: f64)
src/nested/mod.rs:511
↓ 12 callers
Method
as_explicit_skymap_btree
(&self)
src/nested/map/skymap/explicit.rs:212
↓ 12 callers
Function
check_equals
(map: MainWindMap<u64>, array: [u64; 6])
src/nested/mod.rs:5090
↓ 12 callers
Function
largest_center_to_vertex_distances_with_radius
Same as [largest_center_to_vertex_distance_with_radius](#fn.largest_center_to_vertex_distance_with_radius) but making the computation for several dept
src/lib.rs:448
↓ 12 callers
Method
len
(&self)
src/nested/sort/scindex.rs:434
↓ 12 callers
Method
opposite
Returns the given main wind opposite direction. # Example ```rust use cdshealpix::compass_point::{MainWind}; assert_eq!(MainWind::S.opposite(), Ma
src/compass_point.rs:618
↓ 11 callers
Method
depth
(&self)
src/nested/map/skymap/mod.rs:618
↓ 11 callers
Method
row_y
(&self)
src/nested/map/astrometry/math.rs:389
↓ 11 callers
Method
row_z
(&self)
src/nested/map/astrometry/math.rs:392
↓ 11 callers
Function
triangular_number_x4
(n: u64)
src/ring/mod.rs:150
↓ 11 callers
Method
vertices
(&self, hash: u64)
src/nested/mod.rs:1298
↓ 10 callers
Function
deal_with_1x1_box
NORTH h ^ Deals with a box of size 1x1, with: W |_._ E - dl in `[0, 1[` along the x-axis E |\2/| A - dh in `[0, 1[` along the y-a
src/ring/mod.rs:288
↓ 10 callers
Method
depth_max
(&self)
src/nested/map/mom/impls/zvec.rs:59
↓ 10 callers
Method
i02h
(&self, _i: u32)
src/nested/zordercurve.rs:387
↓ 10 callers
Method
len
(&self)
src/nested/map/mom/impls/zvec.rs:63
↓ 10 callers
Function
load_glimpse
()
test/src/lib.rs:188
↓ 10 callers
Method
n_moc_cell_in_cone_upper_bound
(&self, cone_radius: f64)
src/nested/mod.rs:3769
↓ 10 callers
Method
put
Associate the given value with the given direction
src/compass_point.rs:242
↓ 10 callers
Method
row_x
(&self)
src/nested/map/astrometry/math.rs:386
↓ 10 callers
Function
to_aladin_moc
(bmoc: &BMOC)
src/nested/mod.rs:5604
↓ 10 callers
Method
to_bmoc_packing
(&mut self)
src/nested/bmoc.rs:250
↓ 10 callers
Method
to_f64
(&self)
src/nested/map/img.rs:78
↓ 10 callers
Function
to_radians
(lonlats: &mut [(f64, f64)])
src/nested/mod.rs:7602
↓ 10 callers
Function
to_shs_min_max_array
(cone_radius: f64, distances: &[f64])
src/nested/mod.rs:4721
↓ 10 callers
Function
write_final_padding
Possible add blanks at the end of the FITS file to complete the last 2880 bytes block.
src/nested/map/fits/write.rs:131
↓ 10 callers
Function
write_implicit_skymap_fits
Write the values in a FITS HEALPix map. # Params `values`: array of values, the index of the value correspond to the HEALPix cell the value is associ
src/nested/map/fits/write.rs:22
↓ 9 callers
Method
center_of_projected_cell
Center of the given cell in the Euclidean projection space. # Output - `(x, y)` coordinates such that $x \in [0, 8[$ and $y \in [-2, 2]$.
src/nested/mod.rs:2466
↓ 9 callers
Function
cone_coverage_approx_custom
( depth: u8, delta_depth: u8, cone_lon: f64, cone_lat: f64, cone_radius: f64, )
src/nested/mod.rs:403
↓ 9 callers
Method
decode_hash
(&self, hash: u64)
src/nested/mod.rs:2502
next →
1–100 of 1,426, ranked by callers