MOCCli, MOCSet, and frequency MOCs

Francois-Xavier PINEAU francois-xavier.pineau at astro.unistra.fr
Fri Oct 7 15:15:26 CEST 2022


Dear Applications Working Group,

This email to let you know that the MOCSet tool source code has been 
published on github:
https://github.com/cds-astro/cds-moc-rust/tree/main/crates/set
MOCSet is used in production in VizieR when asking for a cone on all 
VizieR catalogues (to
pre-filter catalogues before performing database queries).

Also, both the MOCCli and MOCSet executables are now available through pypi:
* https://pypi.org/project/moc-cli for the `moc` executable
* https://pypi.org/project/moc-set fot the `mocset` executable
So you can install them using:
   pip install moc-cli
   pip install moc-set
(No python library, only executables)

We are also evaluating the possibility to create energy/frequency MOCs.
Frequency MOCs have been implemented (for proof of concept purposes)
in MOC Lib Rust and MOCCli. You can e.g. try:
   moc table freq
   moc from freqval --help
   # Print the frequency ranges of the 64 cells of level 5:
   for f in {0..63}; do echo "5/$f" | moc hprint --type fmoc --format 
ascii - --no-header; done


Best regards,


FX Pineau



More information about the apps mailing list