Comments (6)
Here is a list (to be completed if I forgot something) of the new features of v0.12.0
- +, |, -, &, ~ operators redefinition for union, union, difference, intersect and complement respectively.
moc1 + moc2
and
moc1 - moc2
- a rapid display of the mocs is now callable with
moc.display_preview()
- 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
- add
MOC.barycenter
andMOC.largest_distance_from_coo_to_vertices
of a moc
from mocpy.
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.
Citations infos ?
from mocpy.
To be discussed:
- order of a moc is called
depth
,max_depth
,max_order
,order
ormax_norder
(and there is alsonside
) depending of the method. This is nightmare-ish.
from mocpy.
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.
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)
- `new_empty` is not implemented for STMOCs
- rewrite doc of MOC.from_ methods
- (corner case) Ban negative indices HOT 6
- MOC to STC-S HOT 3
- MOC overlap with a MRM: calculation of proba in the intersection HOT 14
- MOCServer Cancells request on HST coverage (MOC too big) HOT 3
- MOC sky area HOT 5
- mocpy probability calculation when using multiprocessing HOT 21
- garbage collector stumbles when a MOC is pickled
- Parallelized (on the Rust side) MOC generation HOT 25
- Remove deprecated plot methods
- Multiple Subplotting Issue/help HOT 4
- PyPI wheels for manylinux2014 x86_64 HOT 3
- from_vizier_table returns empty MOC silently on incorrect table names HOT 4
- Max, min, median, average Distance in a region HOT 10
- Support of numpy 2.0 HOT 2
- JSON serialization of empty space MOC fails HOT 2
- moc.union(moc1, moc2) fails with TypeError HOT 5
- `from_healpix_cells` no longer allows HEALPix cells with index 0 HOT 3
- MOC.from_astropy_regions doesn't work with boxes with height > width HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mocpy.