It will be nice if i get a working version of source and GRASS rather than partial updates of addon.<div><br></div><div>Partial updates had some errors and cannot be rectified unless until the entire algorithm is known.</div>
<div><br></div><div>If by any chance you can give me the old version with "meschach" i could find the bug and port it to latest grass</div><div><br></div><div><br></div><div>BTW, in GRASS5 v_get(1) returns what?</div>
<div><br></div><div><br></div><div>eg found in source</div><div><br></div><div>startvector =<b> v_get(</b>A->cols); /* length: no. of spectra */<br></div><div><br></div><div>A_tilde = <b>m_get</b>(A->rows+1, A->cols); /* memory allocation */<br>
</div><div><br></div><div><div><span class="" style="white-space:pre"> </span> <b>mv_mlt(</b>A_tilde, startvector, A_times_startvector);</div><div><span class="" style="white-space:pre"> </span> <b>v_sub</b>(A_times_startvector, b_gamma, errorvector);</div>
<div> <b>sm_mlt</b>(mu, A_tilde_trans, A_tilde_trans_mu);</div><div> <b>mv_mlt</b>(A_tilde_trans_mu, errorvector, temp);</div><div> <b>v_sub</b>(startvector,temp,startvector); /* update startvector */</div>
</div><div><br></div><div>Could you recall what these functions and a brief of what it does will help atleast</div><div><br></div><div>mv_mlt() v_sub() sm_mlt()</div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Nov 29, 2012 at 1:16 AM, Mohammed Rashad <span dir="ltr"><<a href="mailto:mohammedrashadkm@gmail.com" target="_blank">mohammedrashadkm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I had compiled and run i.spec.unmix for grass 6.3 but output is not correct<div><br></div><div>So could you tell me which version of GRASS5 works with i.spec.unmix?</div><div><br></div><div class="gmail_extra"><div><div class="h5">
<br><br><div class="gmail_quote">
On Wed, Nov 28, 2012 at 8:07 AM, Mohammed Rashad <span dir="ltr"><<a href="mailto:mohammedrashadkm@gmail.com" target="_blank">mohammedrashadkm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
fine.<div><br></div><div>If i give input map and the corresponding output map from i.spec.unmix. can you evaluate?</div><div><br></div><div>Also do you see any problem in my selection of input maps?</div><div><br></div><div>
which are available in grass sample dataset (nc_spm_08) landat (mapset)</div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 2:26 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rashad,<br>
<div><br>
On Tue, Nov 27, 2012 at 9:11 PM, Mohammed Rashad<br>
<<a href="mailto:mohammedrashadkm@gmail.com" target="_blank">mohammedrashadkm@gmail.com</a>> wrote:<br>
><br>
> Hi Markus,<br>
><br>
> These is the error i got from spectral unmixing module<br>
<br>
</div>maybe I was not clear: the module is currently non functional<br>
and needs to be updated and modernized. I write it in 1998/99<br>
as part of my master thesis for GRASS 5.<br>
<div><br>
><br>
> GRASS 6.3.1svn (nc_spm_08):~ > i.spec.unmix<br>
</div>...<br>
<br>
The 6.3 version which I sent to use was partially updated by<br>
Brad Douglas (if I recall correctly) to GRASS 6 but not in a<br>
complete stage. So the order would be<br>
<br>
- get it running in 6.3 as you try;<br>
- while keeping GRASS 7 in mind (jump over 6.4) which may<br>
simplify some code structures.<br>
<br>
The update "train" was:<br>
* GRASS 5: i.spec.unmix: working with MESHACH numerical libs<br>
(<a href="http://www.netlib.org/c/meschach/readme" target="_blank">http://www.netlib.org/c/meschach/readme</a>)<br>
* GRASS 6.3: attempt to rewrite the MESHACH support to LAPACK<br>
support since the MESHACH library wasn't clear.<br>
This remained unfinished by me.<br>
* Someone (Brad?) took over to complete this but didn't fully finish.<br>
This version you are trying right now.<br>
<br>
Now we are at GRASS 7 and it is time to get i.spec.unmix up and<br>
running :)<br>
<br>
Best,<br>
Markus<br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br> Rashad</font></div><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br> Rashad</font></div><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br> Rashad</font></div><br>
</div>