<br><div class="gmail_quote">Hi,<br>  <br>the problem with the other formulas (you can finde them at <a href="http://en.wikipedia.org/wiki/airmass" target="_blank">en.wikipedia.org/wiki/airmass</a>) is, they maybe more precize but they have a different scala. You say that 1/sin(h) is use, which contributes to a homogeneous plane-parallel atmosphere with no curvature of earth surface attended. It gives reasonable results down to heights 10 degrees above horizon.<br>

<br>I think it should be discussed whether it is a good idea to change it or leaf it for the users convenience as it is. Only pros would rather notice, but more often they would ignore it. I am not sure how using a  different formula with an implied different scalar relates to different values in photometry.<br>

A correct airmass is necessary for  absolute photometry. <br>I can provide such a batch, if it is considered necessary.<br><br>For the problem with the batch processing an example file would just help so I can figure out and maybe write a script for producing the correct input/output syntax for the processing. <br>

<br>regards,<br><font color="#888888">Christian</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sat, Sep 11, 2010 at 10:43 AM, Akarsh Simha <span dir="ltr">&lt;<a href="mailto:akarshsimha@gmail.com" target="_blank">akarshsimha@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Christian,<br>
<div><br>
&gt;    Hi,<br>
&gt;<br>
&gt;    I have two questions. Where can I get an example file and some<br>
&gt;    documentation about the batch processing in the calculator section. An<br>
&gt;    example for the input and the output file would be nice.<br>
<br>
</div>The batch processing had a lot of bugs, I don&#39;t know if anybody uses<br>
it and whether there&#39;s any documentation regarding that. So I&#39;m afraid<br>
I don&#39;t know the answer to this, but I guess other developers here<br>
might.<br>
<div><br>
&gt;    The second questions is, what formular did you use to determin the<br>
&gt;    airmass? Was it Pickering (2002) X = 1/sin(h+244/(165+47h^1.1)) and where<br>
&gt;    in the source code do I find it?<br>
<br>
</div>I found this in the file kstars/dialogs/detaildialog.cpp (line 326):<br>
<br>
    //Airmass is approximated as the secant of the zenith distance,<br>
    //equivalent to 1./sin(Alt).  Beware of Inf at Alt=0!<br>
<br>
and it&#39;s followed by the same calculation described in the comment.<br>
<br>
That&#39;s bad! If you have the source code checked out and are capable of<br>
compiling it, you&#39;re welcome to replace it with the better formula you<br>
have and submit a patch.<br>
<br>
Thanks for pointing this out.<br>
<br>
Regards<br>
<font color="#888888">Akarsh<br>
</font></blockquote></div><br><br clear="all"><br></div></div><div><div></div><div class="h5">-- <br>The components have no significance except as they contribute to a functioning whole.<br><br>No trees were killed in sending this message. However, a large number of electrons were seriously inconvenienced.....<br>

<br>Come to the dark side, we have sweets!<br><br>Die in dieser E-Mail enthaltenen Nachrichten und Anhänge sind ausschließlich für den bezeichneten Adressaten bestimmt.  Sie können rechtlich geschützte, vertrauliche Information beinhalten.<br>

Falls Sie nicht der bezeichnete Empfänger oder zum Empfang dieser E-Mail nicht berechtigt sind, ist die Verwendung, Vervielfältigung oder Weitergabe der Nachrichten und Anhänge untersagt.<br>Falls Sie diese E-Mail irrtümlich erhalten haben, dann informieren Sie bitte unverzüglich den Absender und vernichten Sie die E-Mail.<br>

This e-mail massage and any attachment are intended exclusively for the named addressee. They may contain confidential information which may also be protected by professional secrecy.<br>Uless you are the named addressee (or authorised to receive for the addressee) vou may not copy or use this message or any attachment or disclose the contents to anyone else.<br>

if this e-mail was sent to you by mistake please notify the sender immediately and delete this e-mail.<br>
</div></div></div>