Re: Accesing to Measurements from a Macro
Posted by karenacollins on Dec 30, 2014; 12:40pm
URL: http://astroimagej.170.s1.nabble.com/Accesing-to-Measurements-from-a-Macro-tp211p216.html
Hi Ferran,
How much change in position is there typically from one image to the
next for the minor planets and comets? Also, how many images are
typically in the time series when you are following minor planets or
comets? There is probably no concrete answer for either of these
questions, but I am just trying to get a feel for the best way to
address the minor planets and comet photometry issue.
The centroid function works off of the fixed aperture size, even in
variable aperture mode. So, for instance, if you can make the fixed
aperture radius large enough to encompass the change in the moving
target from frame to frame, I think one solution would be to use a
larger fixed aperture radius, and enable variable aperture to shrink the
aperture radius to some factor times the fwhm of the image for the
photometry measurement. For this idea to work the best, you should make
your target star something other than T1, since T1 is used to help find
the relative offsets of all the other target/comp stars from image to
image. As an example, create a C1 (by holding shift when clicking near
the first star), C2 (no shift), C3, C4, and then T5 (by holding shift
when clicking near the target star). Then if T5 doesn't move by more
then the fixed aperture radius from image to image, the centroid feature
should automatically track the moving target while keeping the other
apertures fixed.
That is just one idea. I'll decide on the best solution once I get your
response to the above questions. I'm also considering how to include the
macro you wrote. If I can find time, I'll translate it into java and
include the function as a menu item under the Multi-plot main 'File'
menu (it is harder to add it to the table 'File' menu). Then I can
search for all open tables and automatically select the first one found
(with the option to select another one, if more than one table is open).
Karen