Author Topic: Java  (Read 9606 times)

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: Java
« Reply #15 on: 2010 May 08 14:35:38 »
Hi Harry,

javascript coding is a skill valuable beyond PI so it's definitely a worthwhile endeavour. Set yourself some simple goals like "write a script that cycles through all the pixels in an image and calculates the totals". Or 'draw a line from one corner to the next'.

Use the existing scripts as starting points. Forget about GUI elements at first, just to simplify matters a bit.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Java
« Reply #16 on: 2010 May 08 14:39:57 »
Hi

Good advice    don't run before the walk jobbie  ;D


Harry
Harry Page

Offline Niall Saunders

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1456
  • We have cookies? Where ?
Re: Java
« Reply #17 on: 2010 May 08 15:08:27 »
Hi Harry,

And, DEFINITELY have a look at my 'Batch DeBayer" PJSR script. Not for what it does though, look at it for the TONS of comments that I added to it so that 'I' actually knew what the heck was going on!

In other words, start with one of the very simple scripts, and then 'search' within my script for similar code - if you can't figure out what is going on. It may just be that I have used a similar piece of code and I may then have added a bunch of comments to try and explain what is happening.

Heck, if you can handle ZX81 Basic, or Spectrum Basic, you can handle PJSR. The principles ARE very much the same - just that some of the rules have changed.

And, your ZX81 is ALREADY worth good money now, but not as much as a ZX80. I have a Sinclair Scientific calculator - home built - c. 1973/74 vintage and those are really valuable nowadays, along with my home-built Sinclair 'Black Watch'. I wish I had kept my ZX80, all the peripherals for my ZX81, and my ZX Spectrum, with all of its bits-n-pieces.

Cheers,
Cheers,
Niall Saunders
Clinterty Observatories
Aberdeen, UK

Altair Astro GSO 10" f/8 Ritchey Chrétien CF OTA on EQ8 mount with homebrew 3D Balance and Pier
Moonfish ED80 APO & Celestron Omni XLT 120
QHY10 CCD & QHY5L-II Colour
9mm TS-OAG and Meade DSI-IIC