Skip to main content

AstroImageJ

15 posts / 0 new
Last post
astrosberge
astrosberge's picture
AstroImageJ

Hi,

Is it possible to have a tutorial to convert the measurement spreadsheet obtained with AstroImageJ to the AAVSO file format ?  

It should be interesting in having a plugins or a tool in AstroImageJ in order to format the data analysis measurement into the AAVSO file format.  

If someone of you has something / tuto / plugins to help, please it would be appreciate to have it.

Thanks

Serge  (astrosberge at gmail.com)

gabriele
gabriele's picture
AstroImageJ and AAVSO format

I agree, AstroImageJ seems really nice, too bad I haven't been able to find tutorials, plugins or ways to export in the AAVSO data format, so I'm really interested in this.

clkotnik
clkotnik's picture
AstroImageJ for General Photometry

I'm afraid I do not have the tools you ask about, but I can offer some observations as a result of my using AIJ a bit and thinking about this.

First, you need to recognize that AIJ does not offer much support for filters.  This seemed most problematic to me in the area of calibration where you will need to keep all separate folder structures  for straight yourself and calibrate one filter at a time.  There is no filter ID in the output.  While you can add columns to the output from the FITS headers, these can only be numeric values.  Thus you would need to parse the filter ID, say out of the file name.  Or perhaps create numeric values in the FITS header for your filters.

The other thing to consider is that AIJ deals in flux mostly.  You can put in mags for the comp stars and get a magnitude for the target.  You would need to do something to generate the required instrumental magnitude for the check star since the instrumental magnitudes are not reported by AIJ.  The two things you might consider as sources are the Source-Sky or relative flux.  You would have to dig into the AIJ doc to find out how it generates the target magnitude for single and ensemble photometry.  Or perhaps you calculate the target magnitude yourself.

You may find it hard to keep the various target, check and comp stars straight as I don't believe you can give them your own names.

And then there is color transformation...

All of this is not to detract from AIJ which does a very good job at the exoplanet photometry it is designed for.  I looked down the road of general photometry with AIJ and have decided not to pursue it myself.

Good luck,

Cliff Kotnik

 

astrosberge
astrosberge's picture
AIJ format

Thanks Cliff and Gabrielle

Sorry for my late answer. 

AIJ is powerfull and can do differential photometry easily.  The only issue is the file format.  It would be interesting in having an AVSO file format plugin in order to use it for AAVSO.  

As per some consultations, there is an appetite to create eventually a plugin but we just need a volunteer who is able to make it... and I am not a programmer. 

Serge

clkotnik
clkotnik's picture
Any Interest In Collaboration?

If you have some knowledge of python and would be interested in collaborating on a postprocessing program for the AIJ measurements file please let me know.  I have a prototype that I developed to handle the conversion to AAVSO, color transforms, etc.  It certainly is nothing more than a prototype, but perhaps could be refined.

best regards,

Cliff

astrosberge
astrosberge's picture
Collaboration

I am interested in but I don't know Python.

It should be interesting for you to have a discussion with Karen Collins, the professor who is behind AIJ. Also,  AIJ is very exoplanet oriented and you should also have a discussion with Dennis Conti who is the AAVSO exoplanet man. 

Let me know more about your prototype but as I have mentioned, Pyhton is completely new for me.

Serge

clkotnik
clkotnik's picture
Perhaps We Should Define Goals

Serge,

When I was first introduced to AIJ, it was from Dennis explicitly for exoplanet work.  That is why Karen developed it as I understand it.  As such, the main outputs are relative flux and generally the output from AIJ or a column subset of it are what the researchers require.  

So when I read your original post, I assumed since you were looking for the AAVSO format the targets included more than exoplanets, were multiple filters, with color transformation  and included a check star.  Certainly, all of this is not required for the AAVSO format.  However, that is what I assumed from your original post and that is what I prototyped. I may have made a mistake this assumption.

Perhaps your goals are more limited.  If so, please take a look the RedDots campaign at https://www.aavso.org/aavso-alert-notice-583 and the video tutorial https://reddots.space/forums/topic/guide-to-reducing-the-data-with-image....  Also note that the required AAVSO format requested was updated in the 6/28/17 post (#11) here https://www.aavso.org/red-dots-observing-campaign-2017.  While not a clean tutorial, you probably can piece together the info to do the conversion from these resources.

I suspect we will hear more about exoplanet observing and data format/storage at the fall AAVSO conference given the focus of that event.

Hope this helps,

Cliff

David Benn
David Benn's picture
AstroImageJ and Mac OS 10.13

Is anyone using AstroImageJ with Mac OS 10.13?

There are known problems and some workarounds for ImageJ, but not sure about AstroImageJ.

David

astrosberge
astrosberge's picture
AstroImageJ and Mac OS 10.13

Sorry David, I use AIJ it with Windows. It works well but in Windows we have to make sure that ou Java platform is always up to date.

Serge

David Benn
David Benn's picture
AstroImageJ and Mac OS 10.13

Hi Serge

Thanks. This page reports the problem:

http://astroimagej.1065399.n5.nabble.com/AIJ-broken-in-MacOSX-10-13-td850.html

It appears to be ImageJ related:

https://imagej.nih.gov/ij/docs/install/osx.html

I can run the jar file directly, e.g.

cd AstroImageJ64.app/Contents/Resources/Java

or 

AstroImageJ.app/Contents/Resources/Java

java -jar ij.jar

rather than using the Mac OS .app and that allows me to enter text into dialogs. However, although FITS files can be loaded, nothing is displayed. Image -> Show Info... shows it has loaded however because I can view the FITS header.

I don't quite understand the underlying problem, the dependency upon Java 6 etc.

I wonder when this will be resolved for Mac OS X 10.13?

David

 

Ganesh1076
Unable to plot the data in astroimagej

I've tried many times with some tutorials on YouTube but yet not successful to plot a light curve of variable star

Ive reached till y plot but all of them are ploted in parellel to y axis. Every point is for same JD i.e x axis

astrosberge
astrosberge's picture
Unable to plot the data in astroimagej

Check your measurement table to see if values in the JD column vary for each image... if values are all the same, you make something wrong during the data reduction / analysis process.

 

 

B.P.Vietje
B.P.Vietje's picture
Plot Data in AIJ

Ganesh1076,  if you can attach your measurement table, you may be able to get some help here.  I may not be the best one to help, but can try.

AIJ can create nice plots of variable stars, asteroids, etc, and there is a way to input comp star magnitudes, but I don't recall AIJ having an option for Check stars.  There are so many little check boxes that can be used to customize AIJ for different applications, that it can be frustrating to find the source of the issue.  There is a Data Processing module that may not be reading your JD properly, so it may be creating a measurement table that has only one date(?)

Clear skies,

Brad Vietje, VBPA

Newbury, VT

www.nkaf.org

cdk
possible conversion to AAVSO format

Hello Serge,

I use Matlab for a lot of my variable star data reduction and have developed a script in Matlab to take text file output from MaximDL into a much more readable AAVSO format.  With some coding by another user you could mofify it to read from most any format and output AAVSO format.   It's not a stand-alone script but a section of a larger script with the formats to write to AAVSO.  Let me know if you would like it. 

Matlab is pricey, however, but I love it for the graphics capabilities.

Don (CDK) (dcollins@warren-wilson.edu)

astrosberge
astrosberge's picture
possible conversion to AAVSO format

Hi Don,

The simple way I convert the measurement table of AIJ to the AAVSO file format is with MS Excel.

I open the measurement table of AIJ with MS Excel and savec it in an Excel workbook.  After I open a second page and take the culomns I need to "build" my AAVSO file format.  Hence, at the end, I save my AAVSO file format in a csv delimited with a come (,).  It works fine... I would like to make a script with Excel in order to do it automatically but I haven't had time to learn Excel script yet...

So I do it for ETD (exoplanet) and AAVSO for variable star.  It is not necessary to plot a graph with AIJ, just taken the measurement table and make an ETD or AAVSO file format with MS Excel... and submit it.  In both cases, it works fine.

Log in to post comments
AAVSO 49 Bay State Rd. Cambridge, MA 02138 aavso@aavso.org 617-354-0484