Occultation Video Reductions: From Scratch on Win7

Making Star Charts

2-Star Alignment of LX200gps

Testing Optical Setups on 10" Meade

Optional - you Don't Need Virtual Dub Any More. But if you still want it and if You Don't Have VirtualDub Yet Installed...
* go to SourceForge to download the 32bit version of VirtualDub here . It downloads a .zip file,
* "save file" to your desktop.
* In CamUnzip, it should be wanting to extract the files to the desktop directory for VirtualDub already created. Click in CamUnZip extract.
* From here, you may want to watch this YouTube video on installing and setting up VirtualDub
* You should now see a folder on your desktop called "VirtualDub...."
* To install the program, click Start and Computer and C: and Programs and Settings (x86) and right-click on the desktop VirtualDub folder and drag it into the far right empty space of the now-visible folders of all x86 programs. If you don't drag far enough into the empty space, it'll try to put your virtualdub folder into an existing program folder - don't do that! Drag far to the right into the empty space and release and a menu saying several options including copy here as the first option
* Click copy here and you should see the folder now appear in the x86 directory just like all other x86 program folders
* Click on the folder and see all the contents. Right-click on the gear-icon application near the bottom labelled VirtualDub and in the menu do create shortcut. It should ask you instead to create the shortcut to your desktop, which is what I do.
* You've now got VirtualDub installed!

You should already have Live Moviemaker as part of your Win7 package. To make a shortcut on your desktop, do this...
* Click Windows Start then All Programs then from the list go to the bottom and click Windows Live folder and you should see Live Moviemaker.
* Rightclick Live Moviemaker and then Send and then Create Desktop Icon
* You can now start to drag and group your astro-video-related desktop icons into your favorite corner of your desktop!

===========================================Start Here ==========================================

Importing your Video from your Camcorder
* Connect the firewire from your computer to the ZR45mc camcorder
* Turn on the camcorder, in the 'down' (play) position
* If this is the first time, you'll see the computer try to find the drivers, which it not require your help. Might take 15 seconds or so.
* You'll now see a prompt appear on your task bar which looks like this
* Enter a name for the .avi file which it will create, and select Choose parts of the video to import
* click next and it'll now turn on the camcorder into the pause position. You should see the camcorder control screen appear on your computer with an image of whatever is on your tape.
* Click the back/fwd buttons until the tape is at the position you want to begin importing. Especially for faint events, give it a good long time before and after the event, at least a minute, so it can get a good baseline brightness and variation. When you're there, click import
* Watch as it imports and especially look for more than 0 dropped frames; you'll generate about 120+ Meg's per minute. If you get dropped frames (I haven't so far), try unburdening your computer of other tasks and try again. Make sure you're downloading to your primary HDD, not having to go through a USB to a mobile HDD. That might slow it down and cause dropped frames(?)
* Click stop when you want to end it, and then finish.
Your .avi file will appear automatically in the video folder of your computer. To find it, click at extreme lower left Start and Computer and you should see the Videos folder under Libraries. You can move it to wherever you want.

Using LiMovie to Get Photometric Data from the .avi File
David Herald's 2006 instructions.doc for LiMovie (notes from Tony, Brad...
- image rotation is not a problem for these ~2 minute periods. Maybe at ~30minutes it would.
- The 'sky' background is between the 2nd and 3rd circles, not the 1st and 2nd
- Use 'drift' with a radius of ~4 pixels if stable, or more if windy. Threshold 95, unless jumping around too much, then try lower

* Fire up LiMovie (download it here. )It's a zip file, if you unzip in in your Programs(x86) folder, Winblows will probably 'block' it. So, click on 'properties' and click unblock however you may have to unzip it somewhere outside of Programs(x86) and then do this and move it into Programs(x86) if you really want it there. Or, you can just have a separate folder like I do, called MyPrograms
* Make sure you have a version at or later than 0.9.98a2, or you can't seem to do linked tracking unless you use psf mode
* Here is the LiMovie Screen
* In the far right, change the Video time inserter to IOTA if you have an IOTA VTI as most of us now do.
* in Form of BKG box, click standard for asteroid events
* Gamma Reverse Correction should be off, if you have your gamma set to 1 on the videocamera (as I do on my Watec 910hx)
* In the PSF box, uncheck the tracking and photometry options. Pundits find the tracking isn't as good using PSF option. That is NOT my personal experience, it's the opposite
* Now right-click somewhere on the sky and in the box that comes up, select Object Add (it'll be Star A, the target star). Now left-click carefully on the actual target star to center it. You should see a blue circle and bar and you'll see in the lower right that Current Object is A.
* Now right-click somewhere on the sky and again Object Add and then center that on your tracking star. It'll be yellow circles.
* Now right-click somewhere on the sky and again Object Add and then center on your comparison star. It'll be pink circles.
* Now use the buttons in the lower right to go to A and then in middle bottom click on the circles and use Set Radius to Memoried and adjust if necessary.
* For star A (target) In the Star Tracking box click OFF
* In the middle bottom click Set Radius to Memoried and then adjust if you want in the middle bottom where you can adust Radius, Inner, and Outer. Set the aperature circles; be sure the inner circle includes all of the star, then leave a gap of 2 pixels for the 2nd circle, and then as generous 3rd outer circle but don't include any other stars or hot pixels inside it! Between the 2nd and 3rd circles is the sky background. My circles are often 5/7/25 for Cabrillo College Observatory canyon seeing quality.
* In the lower bottom Current Object click on B and again Set Radius to Memoried and adjust if necessary
* In the Star Tracking box click drift. Be sure to re-do this right before you're done, because LiMovie has the annoying habit of resetting it to anchor when you're not looking!
* in the Linked Tracking Box click Link . You've now said the target star/asteroid tracking will be linked to the tracking star = Star B.
* In the lower bottom Current Object click on C and again Set Radius to Memoried and adjust if necessary
* In the Star Tracking box click drift.
* Go through and click the A, B, C boxes one last time and make sure the parameters are what you set - again, LiMovie seems to like changing B back to 'anchor' even though you set it to 'drift'
* Position the video to the beginning, and click Start and watch the data lines get generated
* When finished, first thing to do is at the lower left click GRAPH and look at the light curve. If it looks funny, click DataRemove and start over.
* If the light curve looks good, then click SaveToCSV-File and save the file. This is the file that Occular or other software will need analyze for the timings.

Run Occular V4.0 - Will Statistically Analyze Your .csv File To Find the Best fit to Your Timings
-- select file and get your file. It'll show the .csv files
-- click on the gray box left of the header line with No. next to it, immediately above the first data line. This should highlight the entire top row. Make sure the entire row is highlighted. This tells Occular the headers titles
-- find the Object1 Result Measurement column and click on the first data entry to highlight it.
-- use the vertical positioner to go all the way to the last data entry in this column and Shift left-click on it, to highlight the entire column
-- click Analyze Data and it'll warn you you need a time stamp, click yes and you then navigate to the row 1 column 1 entry (which is frame number 0.0) and double-click on it to bring up a box for you to work with. It should show a complete date time in a text box; click and then OK. If that doesn't work, then...
-- follow the format they suggest and enter the center-of-frame month/day/year/hr/min/sec in the format line (not boxes) provided, and click get time from entry . It will populate the individual boxes for date, hr etc.
-- click Analyze Data. You may find it fails the data integrity check. Occular verifies that your captured VTI times are spaced .033 or .034 sec apart. If there are any frame spacings which are different than this, it'll fail the integrity check. For me, I find that LiMovie reads my Kiwi time stamps sometimes confusing "6", "8" and "9". It'll flag them and they're pretty easy to see what the digits should have been read as, from the records on either side. Click on write 'error marked' csv file and use a different name so you don't lose the original.. This 'error marked' file will have added a new column 1 which has "red" in any row you modified. This added column will foil being able to use this same file for reduction. So, you open Excel and open both the original file and the error marked file and use the error marked file to locate the records needing to be fixed on the original. Fix the original and save it. I don't see errors from the new IOTA-VTI
--Again click Analyze Data. It should bring up the analysis panel, which includes your light curve and parameter boxes.
If you used a camera integration setting of 2x (=frame integration of 1 i.e. no integration), then skip down to ------------ line
--Now is the time to re-do this, using your integrated frame rate. For camera settin=2x, that's a frame integration of 1, i.e. no integration, so you can skip what I'm about to say. But for any camera setting above 2x you need to re-process using the integrations....
-- if you used integration of frames, then check enable running/block averages option, and then check block average, and the num pts=4 (for an 8x setting on Watec).
-- for offset, look carefully at the data and see where a block begins, then set offset as follows: find a point when the noise or the occultation made for a large change, so it's obvious how the points are grouped by your integration. Take the first frame number of that group, and divide by N where N is your frame integration number (Watec setting 8x means frame integration N=4, etc.). After dividing by N, the remainder is your "offset". So for example, the "D" in the Eukrate15 video showed a partial drop with 4 frames all about the same, beginning with frame 1705. 1705/4 has a remainder of 1. That's the offset. It'll be a number between 0 and 3 in this case. Now, use that offset and see if that group of frames that is one integration is faithfully reproduced when you apply the block average and offset to the data. If it fails to reproduce, try other offsets and see what gives a faithful average for each block of integrated frames. You can click drag a box around the part of the light curve you want displayed.
-- Now that the paremters are set, you can let Occular search through a range of occultation time lengths to search for a range which includes an obvious occultation. Here's how to set it...

-- Note that the light curve is plotted with frame number along the bottom, even when block averaged.
-- for Event Bottom it wants the duration of the occultation. Look at the light curve, for minimum and maximum enter the shortest and longest durations it could be, in frames... BUT If you have block averaged, say with 4 frames per block average (e.g. 8x set on the Watec), then you must divide the min and max by 4. If you don't, it'll probably not find the occultation and the Calculate MaxFOM will remain grayed out. If you've framed averaged, there will be fewer points on your light curve and the analysis will go quick. If not, it may sit there for half a minute before it finds the best solution.
-- for Wing Length choose a number of frames as long as possible but less than the un-occulted time length before the D and after the R.
-- click on Mag Data Input and it'll pop up a box. Fill in the available magnitudes of the star, using Steve Preston's "detailed information" link on the event, or the data on the US map.
-- click write to analysis panel and it'll send the magnitudes to the analysis panel
-- click Calculate MaxFOM to calculate the best figure of merit from the possible occultation parameters you've entered. It may take 10-30 seconds to find the best timings. Click on show noise histogram and you'll see the distribution of errors to the model, and it should look single-peaked and roughly Gaussian. Do PrtScr and CNTRL V to cut/paste to Photoshop for the graphs you want.
--click final report to generate 100 solutions to the best D,R timings and accuracies. It'll take up to a few minutes to do that.
-- on the final report panel, click write panel and it'll create a .png image which you can play with in Photoshop for display on your webpages

Reporting Observations to IOTA

* Use OccultWatcher to populate the spaces in the report form with the right names/dates etc. However YOU must put in the timings of course.
* And, YOU must correct your times from those reported on OCCULAR's "final report" by the following correction determined by Tony George here. Here is the relevant table for both the Watec 910hx and the PC165DNR; both are the same table.

Videocam setting time corr (sec)
no integ -0.0167s
2x -0.0334s
4x -0.0667s
8x -0.1335s
16x -0.2669s
32x -0.5339s
64x -1.0677s
128x -2.1355s
256x -4.2376s

Using OW to Prefill your Report form

* fire up OW
* right-click on your asteroid event and select report observation
* prefill report may be grayed out. No worries, click on report observation and it'll ask if you want to make your official report and you answer yes
* in the information box that shows up, fill it in.
* if it's a <new configuration> don't worry about naming it yet.
* When you're done, it'll ask you for a configuration name
* Then it will make the Excel report form out and ask you to save it somewhere
* Then Excel will start up and your pre-filled form there. Complete it, save it, and then send it to Brad Timerson, and attach the .csv file of the lightcurve.

Brad's page here.