question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make ``Aperture`` objects support arrays of apertures

See original GitHub issue

This should be simple enough following astropy core examples, e.g. SkyCoord or Time

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:1
  • Comments:36 (33 by maintainers)

github_iconTop GitHub Comments

1reaction
larrybradleycommented, May 5, 2020

I don’t think we’re ever going to add this. 😃 One can now input a list of apertures to aperture_photometry to do multi-aperture photometry.

0reactions
kbarbarycommented, Aug 20, 2014

Yeah I was thinking of using the iterator API when I suggested deferring broadcasting to the function call. Using broadcast_arrays in the initializer seems fine too. On Aug 20, 2014 10:48 AM, “Christoph Deil” notifications@github.com wrote:

[image: 👍] to add back broadcasting.

I think the main reason it was removed was because there was a bug with some version of numpy (#29 https://github.com/astropy/photutils/issues/29) and it wasn’t documents a lot, and no-one cared enough to fix / document it properly at the time.

IMO doing it in the aperture constructor would also be OK … fails early and give the user a simple Traceback. But storing the raw inputs and only checking that they broadcast in the constructor should be OK, too.

— Reply to this email directly or view it on GitHub https://github.com/astropy/photutils/issues/62#issuecomment-52814799.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Aperture Photometry (photutils.aperture) — photutils 1.6.0
While the Aperture objects support multiple positions, they must have a fixed size and shape (e.g., radius and orientation). To perform photometry in...
Read more >
Making Custom Apertures - TESS Science Support Center
We need to define a new aperture array such that our aperture will cover our object of interest. In our [previous tutorial](Aperture-Photometry-Tutorial.html) ...
Read more >
Optimal sparse apertures for phased-array imaging
Abstract. A key issue in a sparse-aperture imaging system is the relative arrangement of apertures, or aperture configuration. Transposing previous works ...
Read more >
Optical sparse aperture imaging with faint objects using ...
Diversity images of the faint objects at low photon levels are yielded by switching off the sub-apertures in a certain order. Then a...
Read more >
Design and Implementation of Sparse Aperture Imaging ... - MIT
When we look at extended objects such as the Moon and a faint distant nebula, ... imagine 3 aperture golay array consisting of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found