Comments (2)
Hi @ggreco77,
I need more precision about your needs :
- Do you want a method that directly plot the perimeter of a MOC ?
- You want a list of all the skycoords delimiting the MOC (no specific order ? (anti-)clockwise order around the MOC ? What about MOCs having holes in them ? multiple MOCs that are not connexe ?).
The first point can be done with matplotlib patches. A pathpatch can be used to plot the perimeter delimiting the MOC regions from the non-MOC regions. But the second point is trickier I would say because of all the cases (holes, multiples MOCs...) that must be handled. The first point is not so tricky because we do not need a particular order for plotting the edges of all the HEALPix cells lying in the border of a MOC - the perimeter can be plotted edge by edge.
Thank you for your answer.
from mocpy.
I prefer the first proposal with specific matplotlib patches. In fact, at the end of day, we want to plot the MOC perimeter using matplotlib. Most probably we want a set of matplotlib methods 1) plotting the perimeter increasing the line thickness 2) filling the area with transparency from 0 to 1 (no MOC grid).
Thanks to take into account this issue.
from mocpy.
Related Issues (20)
- MOC creation from pixel range HOT 2
- Empty MOC has interval set array with wrong shape HOT 3
- Add python 3.10 wheels HOT 3
- Add support to release linux aarch64 wheels HOT 3
- Buiiding MOC from images located in ant FITS extension HOT 1
- Overplotting a MOC on a custom WCS projected figure with MOC.fill() HOT 3
- python +, -, & operators redefinition for union, sub, intersect between mocs
- Getting the list of pixels HOT 3
- Plotiing a MOC without giving a center. HOT 3
- Add in the contributing section of the doc a tuto to run the notebooks locally HOT 3
- publish wheels for pyodide HOT 1
- add decorators for testing longitude and latitudes HOT 1
- add examples gallery in documentation HOT 2
- Make _store_index a read-only property HOT 1
- MOC.from_fits_image fails when a fits contains no CDELT
- MOC.from_valued_healpix_cells is broken in mocpy 0.12.0 HOT 2
- IntervalSet Depracated HOT 17
- Possible breaking changes needed for v1.0.0 HOT 6
- MOC.wcs() has issues with non-squared figures HOT 3
- sum(of_lots_of_MOCs) returns an error 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.