Code Monkey home page Code Monkey logo

Comments (6)

ManonMarchand avatar ManonMarchand commented on September 27, 2024

Here is a list (to be completed if I forgot something) of the new features of v0.12.0

  1. +, |, -, &, ~ operators redefinition for union, union, difference, intersect and complement respectively.
moc1 + moc2

and

moc1 - moc2
  1. a rapid display of the mocs is now callable with
moc.display_preview()
  1. WCS now finds automatically the center and size of the mocs for an automatic plot when the users don't provide these parameters
# example to write here
  1. add MOC.barycenter and MOC.largest_distance_from_coo_to_vertices of a moc

from mocpy.

fxpineau avatar fxpineau commented on September 27, 2024

Since MOCPy has been partly developed on European projects (@bmatthieu3 ?) and relies on MOC Lib Rust which has also been partly developed on the ESCAPE European projects, (another one before @bmatthieu3 ?), we probably should add an Acknowledgements section.

For ESCAPE it would be (see MOC Lib Rust):

This work has been partly supported by the ESCAPE project.  
ESCAPE - The **E**uropean **S**cience **C**luster of **A**stronomy & **P**article Physics **E**SFRI Research Infrastructures -
has received funding from the **European Union’s Horizon 2020** research and innovation programme under **Grant Agreement no. 824064**. 

from mocpy.

ManonMarchand avatar ManonMarchand commented on September 27, 2024

Citations infos ?

from mocpy.

ManonMarchand avatar ManonMarchand commented on September 27, 2024

To be discussed:

  • order of a moc is called depth, max_depth, max_order, order or max_norder (and there is also nside) depending of the method. This is nightmare-ish.

from mocpy.

tboch avatar tboch commented on September 27, 2024

My suggestion: stick to the vocabulary of the MOC standard (ie order). MOCLibRust has introduced depth which is used nowhere else to my knowledge.

from mocpy.

fxpineau avatar fxpineau commented on September 27, 2024

depth is a very common term in generic tree data structures, see e.g here, or this O'Mullane paper.
I introduced it when I was working on abstract quad-tree indexation schemes (possibly implemented by HTM, HEALPix, HEAZIP I thought I invented but that was already existing (I do not remember the original name: depht 0 cells are made of 3 depth 1 zones + an upper triangle, at depth 2 each zone is then defided into 4 sub-zones while the upper triangle is divided into 3 sub-zones + an upper triangle, and so on), ...).
But I agree that the common term in the HEALPix ecosystem is order probably since the NESTED indexation scheme is based on the Z-order curve.

from mocpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.