Re: Relaxation curve fitting

2014-03-05 Thread mengjun . xue

Dear Edward and Troels,

Thank you very much for your suggestions. Now the intensities.agr file  
can be opened and displayed by qtgrace on my computer.


Regards,

Mengjun



Citat af Edward d'Auvergne :


Hi,

The qtgrace program seems a bit buggy.  I have tested it on a Windows
7 VM, and see the same problem.  Opening the file by clicking on the
'File->Open' menu results in a white screen.  But double clicking on
the file and opening it in qtgrace shows the file.  You can make the
graphs appear again in the blank screen as they are just hidden!

- Click on the 'Edit->Explorer' menu item.
- The 'Graph G0, type=XY' item is grey because it is hidden.  Right click it.
- In the popup menu click on 'Show'.

You will now see the graphs.  For this bug there is nothing I can do
as it is in qtgrace and not relax.  I am now trying to replicate the
relax grace.view user function failure.

Regards,

Edward




On 4 March 2014 20:59,   wrote:

Hi Edward,

Thank you for your suggestions. I have tried to open qtgrace first and then
open the intensities file, but I can not seen any curve in qtgrace. I have
submitted the bug report.

Regards,

Mengjun






Citat af Edward d'Auvergne :


Hi Mengjun,

This looks like a bug in relax on Windows with spaces in the directory
name!  I thought I fixed this many, many years ago - maybe it has
resurfaced in a new place.  Could you please submit a bug report with
this issue?  Actually, before you do that, can you open qtgrace and
then open this file?  If the error is in qtgrace, then the bug report
is not needed as there is nothing relax can do to fix it.  You can
submit a bug using the link
https://gna.org/bugs/?func=additem&group=relax.  You can also attach
the file there.

Note that you should not have your data files in the same directory as
relax.  You should always keep your data files separate from the
software files.  Mixing the files together is quite dangerous and
might result in program files or directories being overwritten by data
and results files.  If you place your files into a directory on the
C:\ drive without any spaces, this problem will not appear.

Regards,

Edward




On 4 March 2014 18:38,   wrote:


Hi Edward,

Thank you very much for your suggestion. As you suggested, I have started
grace.view user function under Relax Gui, and select qtgrace.exe file and
intensities.agr file, but a error occurs:

[Error] Can't stat file C:\\Program
[Error] Can't stat file Files\\relax-3.1.5\\grace\\intensities.agr

Please find the intensities.agr file (which include 3 residues for test)
in
the attachment. Thank you.


With best regards,

Mengjun Xue







Citat af Edward d'Auvergne :



Hi Mengjun,

If you are using the GUI, you don't need to change the qtgrace.exe
file.  The grace.view user function window allows you to choose the
Grace executable file.  Just click on the "Select the file" button and
select the qtgrace.exe file.

Regards,

Edward



On 3 March 2014 17:51,   wrote:



Hi Troels and Martin,

Thank you so much for your responses. According to your suggestions,
the
raw
intensities data can be extracted from results.bz file or rx.save.bz2
file
now.

For the xmgrace installation, I have downloaded qtgrace at
http://sourceforge.net/projects/qtgrace/, and uppack it to
C:\Python27\qtgrace_windows_binary, in the
C:\Python27\qtgrace_windows_binary\bin folder, I found qtgrace.exe,but
I
did
not find xmgrace.exe, how to put both qtgrace.exe and xmgrace.exe in
the
same bin folder? xmgrace.exe should be downloaded from internet and
then
put
it in the same bin file? Thank you so much.

Best regards,

Mengjun





Quoting Troels Emtekær Linnet :


Dear Mengjun.

For xmgrace installation, follow this:



http://wiki.nmr-relax.com/Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop#xmgrace_-_for_the_plotting_results_of_NMR-relax

In short.
1 ) Download and install
2) Copy qtgrace.exe to xmgrace.exe in same folder
3) Add to your windows path, the path to where xmgrace.exe resides.
4) Test it with opening "cmd" and write "xmgrace". (You may need to
restart computer to update PATH)

Or if you have matplob lib, try this tutorial:
http://wiki.nmr-relax.com/Matplotlib_example



2014-03-03 16:11 GMT+01:00  :




Hi Edward,

I have tried to use relax_fit.py to extract R1 data, I have got 3
files:
rx.out file (R1 values), rx.save.bz2 file, and results.bz2 file, as
Xmgrace
is not available on my computer, I want to display the intensity
decay
curves in others software, so how to extract the raw data from the
output
(results.bz2) of relax_fit.py? It seems rx.save.bz2 file is same to
results.bz2 file. Thank you very much.

With best regards,

Mengjun Xue


___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-us

Re: Relaxation curve fitting

2014-03-05 Thread Edward d'Auvergne
Hi,

The qtgrace program seems a bit buggy.  I have tested it on a Windows
7 VM, and see the same problem.  Opening the file by clicking on the
'File->Open' menu results in a white screen.  But double clicking on
the file and opening it in qtgrace shows the file.  You can make the
graphs appear again in the blank screen as they are just hidden!

- Click on the 'Edit->Explorer' menu item.
- The 'Graph G0, type=XY' item is grey because it is hidden.  Right click it.
- In the popup menu click on 'Show'.

You will now see the graphs.  For this bug there is nothing I can do
as it is in qtgrace and not relax.  I am now trying to replicate the
relax grace.view user function failure.

Regards,

Edward




On 4 March 2014 20:59,   wrote:
> Hi Edward,
>
> Thank you for your suggestions. I have tried to open qtgrace first and then
> open the intensities file, but I can not seen any curve in qtgrace. I have
> submitted the bug report.
>
> Regards,
>
> Mengjun
>
>
>
>
>
>
> Citat af Edward d'Auvergne :
>
>> Hi Mengjun,
>>
>> This looks like a bug in relax on Windows with spaces in the directory
>> name!  I thought I fixed this many, many years ago - maybe it has
>> resurfaced in a new place.  Could you please submit a bug report with
>> this issue?  Actually, before you do that, can you open qtgrace and
>> then open this file?  If the error is in qtgrace, then the bug report
>> is not needed as there is nothing relax can do to fix it.  You can
>> submit a bug using the link
>> https://gna.org/bugs/?func=additem&group=relax.  You can also attach
>> the file there.
>>
>> Note that you should not have your data files in the same directory as
>> relax.  You should always keep your data files separate from the
>> software files.  Mixing the files together is quite dangerous and
>> might result in program files or directories being overwritten by data
>> and results files.  If you place your files into a directory on the
>> C:\ drive without any spaces, this problem will not appear.
>>
>> Regards,
>>
>> Edward
>>
>>
>>
>>
>> On 4 March 2014 18:38,   wrote:
>>>
>>> Hi Edward,
>>>
>>> Thank you very much for your suggestion. As you suggested, I have started
>>> grace.view user function under Relax Gui, and select qtgrace.exe file and
>>> intensities.agr file, but a error occurs:
>>>
>>> [Error] Can't stat file C:\\Program
>>> [Error] Can't stat file Files\\relax-3.1.5\\grace\\intensities.agr
>>>
>>> Please find the intensities.agr file (which include 3 residues for test)
>>> in
>>> the attachment. Thank you.
>>>
>>>
>>> With best regards,
>>>
>>> Mengjun Xue
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Citat af Edward d'Auvergne :
>>>
>>>
 Hi Mengjun,

 If you are using the GUI, you don't need to change the qtgrace.exe
 file.  The grace.view user function window allows you to choose the
 Grace executable file.  Just click on the "Select the file" button and
 select the qtgrace.exe file.

 Regards,

 Edward



 On 3 March 2014 17:51,   wrote:
>
>
> Hi Troels and Martin,
>
> Thank you so much for your responses. According to your suggestions,
> the
> raw
> intensities data can be extracted from results.bz file or rx.save.bz2
> file
> now.
>
> For the xmgrace installation, I have downloaded qtgrace at
> http://sourceforge.net/projects/qtgrace/, and uppack it to
> C:\Python27\qtgrace_windows_binary, in the
> C:\Python27\qtgrace_windows_binary\bin folder, I found qtgrace.exe,but
> I
> did
> not find xmgrace.exe, how to put both qtgrace.exe and xmgrace.exe in
> the
> same bin folder? xmgrace.exe should be downloaded from internet and
> then
> put
> it in the same bin file? Thank you so much.
>
> Best regards,
>
> Mengjun
>
>
>
>
>
> Quoting Troels Emtekær Linnet :
>
>> Dear Mengjun.
>>
>> For xmgrace installation, follow this:
>>
>>
>>
>> http://wiki.nmr-relax.com/Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop#xmgrace_-_for_the_plotting_results_of_NMR-relax
>>
>> In short.
>> 1 ) Download and install
>> 2) Copy qtgrace.exe to xmgrace.exe in same folder
>> 3) Add to your windows path, the path to where xmgrace.exe resides.
>> 4) Test it with opening "cmd" and write "xmgrace". (You may need to
>> restart computer to update PATH)
>>
>> Or if you have matplob lib, try this tutorial:
>> http://wiki.nmr-relax.com/Matplotlib_example
>>
>>
>>
>> 2014-03-03 16:11 GMT+01:00  :
>>>
>>>
>>>
>>> Hi Edward,
>>>
>>> I have tried to use relax_fit.py to extract R1 data, I have got 3
>>> files:
>>> rx.out file (R1 values), rx.save.bz2 file, and results.bz2 file, as
>>> Xmgrace
>>> is not available on my computer, I want to display the intensity
>>> decay
>>> curves in others software, so how to extract the raw data 

Re: Relaxation curve fitting

2014-03-04 Thread mengjun . xue

Hi Edward,

Thank you for your suggestions. I have tried to open qtgrace first and  
then open the intensities file, but I can not seen any curve in  
qtgrace. I have submitted the bug report.


Regards,

Mengjun





Citat af Edward d'Auvergne :


Hi Mengjun,

This looks like a bug in relax on Windows with spaces in the directory
name!  I thought I fixed this many, many years ago - maybe it has
resurfaced in a new place.  Could you please submit a bug report with
this issue?  Actually, before you do that, can you open qtgrace and
then open this file?  If the error is in qtgrace, then the bug report
is not needed as there is nothing relax can do to fix it.  You can
submit a bug using the link
https://gna.org/bugs/?func=additem&group=relax.  You can also attach
the file there.

Note that you should not have your data files in the same directory as
relax.  You should always keep your data files separate from the
software files.  Mixing the files together is quite dangerous and
might result in program files or directories being overwritten by data
and results files.  If you place your files into a directory on the
C:\ drive without any spaces, this problem will not appear.

Regards,

Edward




On 4 March 2014 18:38,   wrote:

Hi Edward,

Thank you very much for your suggestion. As you suggested, I have started
grace.view user function under Relax Gui, and select qtgrace.exe file and
intensities.agr file, but a error occurs:

[Error] Can't stat file C:\\Program
[Error] Can't stat file Files\\relax-3.1.5\\grace\\intensities.agr

Please find the intensities.agr file (which include 3 residues for test) in
the attachment. Thank you.


With best regards,

Mengjun Xue







Citat af Edward d'Auvergne :



Hi Mengjun,

If you are using the GUI, you don't need to change the qtgrace.exe
file.  The grace.view user function window allows you to choose the
Grace executable file.  Just click on the "Select the file" button and
select the qtgrace.exe file.

Regards,

Edward



On 3 March 2014 17:51,   wrote:


Hi Troels and Martin,

Thank you so much for your responses. According to your suggestions, the
raw
intensities data can be extracted from results.bz file or rx.save.bz2
file
now.

For the xmgrace installation, I have downloaded qtgrace at
http://sourceforge.net/projects/qtgrace/, and uppack it to
C:\Python27\qtgrace_windows_binary, in the
C:\Python27\qtgrace_windows_binary\bin folder, I found qtgrace.exe,but I
did
not find xmgrace.exe, how to put both qtgrace.exe and xmgrace.exe in the
same bin folder? xmgrace.exe should be downloaded from internet and then
put
it in the same bin file? Thank you so much.

Best regards,

Mengjun





Quoting Troels Emtekær Linnet :


Dear Mengjun.

For xmgrace installation, follow this:


http://wiki.nmr-relax.com/Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop#xmgrace_-_for_the_plotting_results_of_NMR-relax

In short.
1 ) Download and install
2) Copy qtgrace.exe to xmgrace.exe in same folder
3) Add to your windows path, the path to where xmgrace.exe resides.
4) Test it with opening "cmd" and write "xmgrace". (You may need to
restart computer to update PATH)

Or if you have matplob lib, try this tutorial:
http://wiki.nmr-relax.com/Matplotlib_example



2014-03-03 16:11 GMT+01:00  :



Hi Edward,

I have tried to use relax_fit.py to extract R1 data, I have got 3
files:
rx.out file (R1 values), rx.save.bz2 file, and results.bz2 file, as
Xmgrace
is not available on my computer, I want to display the intensity decay
curves in others software, so how to extract the raw data from the
output
(results.bz2) of relax_fit.py? It seems rx.save.bz2 file is same to
results.bz2 file. Thank you very much.

With best regards,

Mengjun Xue


___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users






















___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Re: Relaxation curve fitting

2014-03-04 Thread Edward d'Auvergne
Hi Mengjun,

This looks like a bug in relax on Windows with spaces in the directory
name!  I thought I fixed this many, many years ago - maybe it has
resurfaced in a new place.  Could you please submit a bug report with
this issue?  Actually, before you do that, can you open qtgrace and
then open this file?  If the error is in qtgrace, then the bug report
is not needed as there is nothing relax can do to fix it.  You can
submit a bug using the link
https://gna.org/bugs/?func=additem&group=relax.  You can also attach
the file there.

Note that you should not have your data files in the same directory as
relax.  You should always keep your data files separate from the
software files.  Mixing the files together is quite dangerous and
might result in program files or directories being overwritten by data
and results files.  If you place your files into a directory on the
C:\ drive without any spaces, this problem will not appear.

Regards,

Edward




On 4 March 2014 18:38,   wrote:
> Hi Edward,
>
> Thank you very much for your suggestion. As you suggested, I have started
> grace.view user function under Relax Gui, and select qtgrace.exe file and
> intensities.agr file, but a error occurs:
>
> [Error] Can't stat file C:\\Program
> [Error] Can't stat file Files\\relax-3.1.5\\grace\\intensities.agr
>
> Please find the intensities.agr file (which include 3 residues for test) in
> the attachment. Thank you.
>
>
> With best regards,
>
> Mengjun Xue
>
>
>
>
>
>
>
> Citat af Edward d'Auvergne :
>
>
>> Hi Mengjun,
>>
>> If you are using the GUI, you don't need to change the qtgrace.exe
>> file.  The grace.view user function window allows you to choose the
>> Grace executable file.  Just click on the "Select the file" button and
>> select the qtgrace.exe file.
>>
>> Regards,
>>
>> Edward
>>
>>
>>
>> On 3 March 2014 17:51,   wrote:
>>>
>>> Hi Troels and Martin,
>>>
>>> Thank you so much for your responses. According to your suggestions, the
>>> raw
>>> intensities data can be extracted from results.bz file or rx.save.bz2
>>> file
>>> now.
>>>
>>> For the xmgrace installation, I have downloaded qtgrace at
>>> http://sourceforge.net/projects/qtgrace/, and uppack it to
>>> C:\Python27\qtgrace_windows_binary, in the
>>> C:\Python27\qtgrace_windows_binary\bin folder, I found qtgrace.exe,but I
>>> did
>>> not find xmgrace.exe, how to put both qtgrace.exe and xmgrace.exe in the
>>> same bin folder? xmgrace.exe should be downloaded from internet and then
>>> put
>>> it in the same bin file? Thank you so much.
>>>
>>> Best regards,
>>>
>>> Mengjun
>>>
>>>
>>>
>>>
>>>
>>> Quoting Troels Emtekær Linnet :
>>>
 Dear Mengjun.

 For xmgrace installation, follow this:


 http://wiki.nmr-relax.com/Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop#xmgrace_-_for_the_plotting_results_of_NMR-relax

 In short.
 1 ) Download and install
 2) Copy qtgrace.exe to xmgrace.exe in same folder
 3) Add to your windows path, the path to where xmgrace.exe resides.
 4) Test it with opening "cmd" and write "xmgrace". (You may need to
 restart computer to update PATH)

 Or if you have matplob lib, try this tutorial:
 http://wiki.nmr-relax.com/Matplotlib_example



 2014-03-03 16:11 GMT+01:00  :
>
>
> Hi Edward,
>
> I have tried to use relax_fit.py to extract R1 data, I have got 3
> files:
> rx.out file (R1 values), rx.save.bz2 file, and results.bz2 file, as
> Xmgrace
> is not available on my computer, I want to display the intensity decay
> curves in others software, so how to extract the raw data from the
> output
> (results.bz2) of relax_fit.py? It seems rx.save.bz2 file is same to
> results.bz2 file. Thank you very much.
>
> With best regards,
>
> Mengjun Xue
>
>
> ___
> relax (http://www.nmr-relax.com)
>
> This is the relax-users mailing list
> relax-users@gna.org
>
> To unsubscribe from this list, get a password
> reminder, or change your subscription options,
> visit the list information page at
> https://mail.gna.org/listinfo/relax-users




>>>
>>>
>>>
>>
>>
>

___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Re: Relaxation curve fitting

2014-03-04 Thread mengjun . xue

Hi Edward,

Thank you very much for your suggestion. As you suggested, I have  
started grace.view user function under Relax Gui, and select  
qtgrace.exe file and intensities.agr file, but a error occurs:


[Error] Can't stat file C:\\Program
[Error] Can't stat file Files\\relax-3.1.5\\grace\\intensities.agr

Please find the intensities.agr file (which include 3 residues for  
test) in the attachment. Thank you.


With best regards,

Mengjun Xue







Citat af Edward d'Auvergne :


Hi Mengjun,

If you are using the GUI, you don't need to change the qtgrace.exe
file.  The grace.view user function window allows you to choose the
Grace executable file.  Just click on the "Select the file" button and
select the qtgrace.exe file.

Regards,

Edward



On 3 March 2014 17:51,   wrote:

Hi Troels and Martin,

Thank you so much for your responses. According to your suggestions, the raw
intensities data can be extracted from results.bz file or rx.save.bz2 file
now.

For the xmgrace installation, I have downloaded qtgrace at
http://sourceforge.net/projects/qtgrace/, and uppack it to
C:\Python27\qtgrace_windows_binary, in the
C:\Python27\qtgrace_windows_binary\bin folder, I found qtgrace.exe,but I did
not find xmgrace.exe, how to put both qtgrace.exe and xmgrace.exe in the
same bin folder? xmgrace.exe should be downloaded from internet and then put
it in the same bin file? Thank you so much.

Best regards,

Mengjun





Quoting Troels Emtekær Linnet :


Dear Mengjun.

For xmgrace installation, follow this:

http://wiki.nmr-relax.com/Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop#xmgrace_-_for_the_plotting_results_of_NMR-relax

In short.
1 ) Download and install
2) Copy qtgrace.exe to xmgrace.exe in same folder
3) Add to your windows path, the path to where xmgrace.exe resides.
4) Test it with opening "cmd" and write "xmgrace". (You may need to
restart computer to update PATH)

Or if you have matplob lib, try this tutorial:
http://wiki.nmr-relax.com/Matplotlib_example



2014-03-03 16:11 GMT+01:00  :


Hi Edward,

I have tried to use relax_fit.py to extract R1 data, I have got 3 files:
rx.out file (R1 values), rx.save.bz2 file, and results.bz2 file, as
Xmgrace
is not available on my computer, I want to display the intensity decay
curves in others software, so how to extract the raw data from the output
(results.bz2) of relax_fit.py? It seems rx.save.bz2 file is same to
results.bz2 file. Thank you very much.

With best regards,

Mengjun Xue


___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users















intensities.agr
Description: Binary data
___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Re: Relaxation curve fitting

2014-03-03 Thread Edward d'Auvergne
Hi Mengjun,

If you are using the GUI, you don't need to change the qtgrace.exe
file.  The grace.view user function window allows you to choose the
Grace executable file.  Just click on the "Select the file" button and
select the qtgrace.exe file.

Regards,

Edward



On 3 March 2014 17:51,   wrote:
> Hi Troels and Martin,
>
> Thank you so much for your responses. According to your suggestions, the raw
> intensities data can be extracted from results.bz file or rx.save.bz2 file
> now.
>
> For the xmgrace installation, I have downloaded qtgrace at
> http://sourceforge.net/projects/qtgrace/, and uppack it to
> C:\Python27\qtgrace_windows_binary, in the
> C:\Python27\qtgrace_windows_binary\bin folder, I found qtgrace.exe,but I did
> not find xmgrace.exe, how to put both qtgrace.exe and xmgrace.exe in the
> same bin folder? xmgrace.exe should be downloaded from internet and then put
> it in the same bin file? Thank you so much.
>
> Best regards,
>
> Mengjun
>
>
>
>
>
> Quoting Troels Emtekær Linnet :
>
>> Dear Mengjun.
>>
>> For xmgrace installation, follow this:
>>
>> http://wiki.nmr-relax.com/Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop#xmgrace_-_for_the_plotting_results_of_NMR-relax
>>
>> In short.
>> 1 ) Download and install
>> 2) Copy qtgrace.exe to xmgrace.exe in same folder
>> 3) Add to your windows path, the path to where xmgrace.exe resides.
>> 4) Test it with opening "cmd" and write "xmgrace". (You may need to
>> restart computer to update PATH)
>>
>> Or if you have matplob lib, try this tutorial:
>> http://wiki.nmr-relax.com/Matplotlib_example
>>
>>
>>
>> 2014-03-03 16:11 GMT+01:00  :
>>>
>>> Hi Edward,
>>>
>>> I have tried to use relax_fit.py to extract R1 data, I have got 3 files:
>>> rx.out file (R1 values), rx.save.bz2 file, and results.bz2 file, as
>>> Xmgrace
>>> is not available on my computer, I want to display the intensity decay
>>> curves in others software, so how to extract the raw data from the output
>>> (results.bz2) of relax_fit.py? It seems rx.save.bz2 file is same to
>>> results.bz2 file. Thank you very much.
>>>
>>> With best regards,
>>>
>>> Mengjun Xue
>>>
>>>
>>> ___
>>> relax (http://www.nmr-relax.com)
>>>
>>> This is the relax-users mailing list
>>> relax-users@gna.org
>>>
>>> To unsubscribe from this list, get a password
>>> reminder, or change your subscription options,
>>> visit the list information page at
>>> https://mail.gna.org/listinfo/relax-users
>>
>>
>>
>
>
>

___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Re: Relaxation curve fitting

2014-03-03 Thread mengjun . xue

Hi Troels and Martin,

Thank you so much for your responses. According to your suggestions,  
the raw intensities data can be extracted from results.bz file or  
rx.save.bz2 file now.


For the xmgrace installation, I have downloaded qtgrace at  
http://sourceforge.net/projects/qtgrace/, and uppack it to   
C:\Python27\qtgrace_windows_binary, in the  
C:\Python27\qtgrace_windows_binary\bin folder, I found qtgrace.exe,but  
I did not find xmgrace.exe, how to put both qtgrace.exe and  
xmgrace.exe in the same bin folder? xmgrace.exe should be downloaded  
from internet and then put it in the same bin file? Thank you so much.


Best regards,

Mengjun




Quoting Troels Emtekær Linnet :


Dear Mengjun.

For xmgrace installation, follow this:
http://wiki.nmr-relax.com/Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop#xmgrace_-_for_the_plotting_results_of_NMR-relax

In short.
1 ) Download and install
2) Copy qtgrace.exe to xmgrace.exe in same folder
3) Add to your windows path, the path to where xmgrace.exe resides.
4) Test it with opening "cmd" and write "xmgrace". (You may need to
restart computer to update PATH)

Or if you have matplob lib, try this tutorial:
http://wiki.nmr-relax.com/Matplotlib_example



2014-03-03 16:11 GMT+01:00  :

Hi Edward,

I have tried to use relax_fit.py to extract R1 data, I have got 3 files:
rx.out file (R1 values), rx.save.bz2 file, and results.bz2 file, as Xmgrace
is not available on my computer, I want to display the intensity decay
curves in others software, so how to extract the raw data from the output
(results.bz2) of relax_fit.py? It seems rx.save.bz2 file is same to
results.bz2 file. Thank you very much.

With best regards,

Mengjun Xue


___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users








___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Re: Relaxation curve fitting

2014-03-03 Thread Martin Ballaschk
Hi Mengjun,

the rx.out file contains the fit parameters of all the spins. The results and 
save files can be loaded into relax again to manipulate the stuff further and 
e.g. write the values again into another file. 

To display the intensity you either use the provided grace files, or you do it 
like me and read the out files and your original intensitiy files with your 
"other" program for plotting. I do this in R, mainly because I used R for 
fitting before I learned about the existence of relax. 

For this to work, you'll also have to write out the initial intensity I(0), 
e.g. by typing: 

> value.write(param='i0', file='i0.out', force=True)

If you want, and know how to write R, I can provide you with my scripts. 

Cheers
Martin

On 03.03.2014, at 16:11, mengjun@mailbox.tu-berlin.de wrote:

> Hi Edward,
> 
> I have tried to use relax_fit.py to extract R1 data, I have got 3 files: 
> rx.out file (R1 values), rx.save.bz2 file, and results.bz2 file, as Xmgrace 
> is not available on my computer, I want to display the intensity decay curves 
> in others software, so how to extract the raw data from the output 
> (results.bz2) of relax_fit.py? It seems rx.save.bz2 file is same to 
> results.bz2 file. Thank you very much.
> 
> With best regards,
> 
> Mengjun Xue
> 
> 
> ___
> relax (http://www.nmr-relax.com)
> 
> This is the relax-users mailing list
> relax-users@gna.org
> 
> To unsubscribe from this list, get a password
> reminder, or change your subscription options,
> visit the list information page at
> https://mail.gna.org/listinfo/relax-users



smime.p7s
Description: S/MIME cryptographic signature
___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Re: Relaxation curve fitting

2014-03-03 Thread Troels Emtekær Linnet
Dear Mengjun.

Let me extend the previous explanation.

Use the GUI to load results.bz2 file.

Then use the User function: Value write, to write a text file with the
desired results.
These are just flat text files as: rx.out
and can include intensities instead, of normalized intensities.
Use these files to plot in any program.

Or use the User function: Grace write, to make grace files.

Best
Troels


2014-03-03 16:33 GMT+01:00 Troels Emtekær Linnet :
> Dear Mengjun.
>
> For xmgrace installation, follow this:
> http://wiki.nmr-relax.com/Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop#xmgrace_-_for_the_plotting_results_of_NMR-relax
>
> In short.
> 1 ) Download and install
> 2) Copy qtgrace.exe to xmgrace.exe in same folder
> 3) Add to your windows path, the path to where xmgrace.exe resides.
> 4) Test it with opening "cmd" and write "xmgrace". (You may need to
> restart computer to update PATH)
>
> Or if you have matplob lib, try this tutorial:
> http://wiki.nmr-relax.com/Matplotlib_example
>
>
>
> 2014-03-03 16:11 GMT+01:00  :
>> Hi Edward,
>>
>> I have tried to use relax_fit.py to extract R1 data, I have got 3 files:
>> rx.out file (R1 values), rx.save.bz2 file, and results.bz2 file, as Xmgrace
>> is not available on my computer, I want to display the intensity decay
>> curves in others software, so how to extract the raw data from the output
>> (results.bz2) of relax_fit.py? It seems rx.save.bz2 file is same to
>> results.bz2 file. Thank you very much.
>>
>> With best regards,
>>
>> Mengjun Xue
>>
>>
>> ___
>> relax (http://www.nmr-relax.com)
>>
>> This is the relax-users mailing list
>> relax-users@gna.org
>>
>> To unsubscribe from this list, get a password
>> reminder, or change your subscription options,
>> visit the list information page at
>> https://mail.gna.org/listinfo/relax-users

___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Re: Relaxation curve fitting

2014-03-03 Thread Troels Emtekær Linnet
Dear Mengjun.

For xmgrace installation, follow this:
http://wiki.nmr-relax.com/Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop#xmgrace_-_for_the_plotting_results_of_NMR-relax

In short.
1 ) Download and install
2) Copy qtgrace.exe to xmgrace.exe in same folder
3) Add to your windows path, the path to where xmgrace.exe resides.
4) Test it with opening "cmd" and write "xmgrace". (You may need to
restart computer to update PATH)

Or if you have matplob lib, try this tutorial:
http://wiki.nmr-relax.com/Matplotlib_example



2014-03-03 16:11 GMT+01:00  :
> Hi Edward,
>
> I have tried to use relax_fit.py to extract R1 data, I have got 3 files:
> rx.out file (R1 values), rx.save.bz2 file, and results.bz2 file, as Xmgrace
> is not available on my computer, I want to display the intensity decay
> curves in others software, so how to extract the raw data from the output
> (results.bz2) of relax_fit.py? It seems rx.save.bz2 file is same to
> results.bz2 file. Thank you very much.
>
> With best regards,
>
> Mengjun Xue
>
>
> ___
> relax (http://www.nmr-relax.com)
>
> This is the relax-users mailing list
> relax-users@gna.org
>
> To unsubscribe from this list, get a password
> reminder, or change your subscription options,
> visit the list information page at
> https://mail.gna.org/listinfo/relax-users

___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Relaxation curve fitting

2014-03-03 Thread mengjun . xue

Hi Edward,

I have tried to use relax_fit.py to extract R1 data, I have got 3  
files: rx.out file (R1 values), rx.save.bz2 file, and results.bz2  
file, as Xmgrace is not available on my computer, I want to display  
the intensity decay curves in others software, so how to extract the  
raw data from the output (results.bz2) of relax_fit.py? It seems  
rx.save.bz2 file is same to results.bz2 file. Thank you very much.


With best regards,

Mengjun Xue


___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Re: relaxation curve fitting

2012-07-02 Thread Edward d'Auvergne
n
>>> > 
>>> > grid_search(inc=11)
>>> >   File "/usr/local/relax/prompt/uf_objects.py", line 220, in __call__
>>> > self._backend(*new_args, **uf_kargs)
>>> >   File "/usr/local/relax/generic_fns/minimise.py", line 141, in
>>> > grid_search
>>> > grid_search(lower=lower, upper=upper, inc=inc,
>>> > constraints=constraints,
>>> > verbosity=verbosity)
>>> >   File "/usr/local/relax/specific_fns/relax_fit.py", line 609, in
>>> > grid_search
>>> > self.minimise(min_algor='grid', lower=lower, upper=upper, inc=inc,
>>> > constraints=constraints, verbosity=verbosity, sim_index=sim_index)
>>> >   File "/usr/local/relax/specific_fns/relax_fit.py", line 716, in
>>> > minimise
>>> > if constraints and not match('^[Gg]rid', min_algor):
>>> >   File
>>> > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py",
>>> > line 137, in match
>>> > return _compile(pattern, flags).match(string)
>>> > TypeError: bad argument type for built-in operation
>>> >
>>> > Regards,
>>> >
>>> > Romel
>>> >
>>> > On 1 July 2012 06:42, Edward d'Auvergne  wrote:
>>> >>
>>> >> Hi Romel,
>>> >>
>>> >> The problem is that unfortunately the 'inv' model is simply not
>>> >> implemented yet.  This is the model for the very old-school inversion
>>> >> recovery type R1 experiments whereby the magnetisation returns to the
>>> >> Boltzmann equilibrium.  I'm guessing you should be using the 'exp'
>>> >> model instead.  This is the standard 2 parameter exponential fit
>>> >> whereby the magnetisation goes to zero.  This is the standard nowadays
>>> >> as it is considered far more accurate for the extraction of the rates
>>> >> (simply by having one less parameter to fit).
>>> >>
>>> >> If you have collected the old-school data, there is a relax branch
>>> >> created by Sébastien Morin for handling this experiment type.  This is
>>> >> the 'inversion-recovery' branch located at
>>> >> http://svn.gna.org/viewcvs/relax/branches/inversion-recovery/.
>>> >> However this branch is not complete and will require someone willing
>>> >> to dive into C code to complete it (see
>>> >> http://www.mail-archive.com/relax-devel@gna.org/msg03353.html).  Note
>>> >> that if someone does know C, completing this will require about 50
>>> >> lines of code changed in the maths_fns/relax_fit.c and
>>> >> maths_fns/exponential.c files (my rough guess anyway).  It should be
>>> >> incredibly trivial for someone with C knowledge.  Anyway, I hope some
>>> >> of this info helps.
>>> >>
>>> >> Regards,
>>> >>
>>> >> Edward
>>> >>
>>> >>
>>> >>
>>> >> On 30 June 2012 18:01, Romel Bobby  wrote:
>>> >> > Dear all,
>>> >> >
>>> >> > I've been trying to use the curve fitting routine for R1 and R2 in
>>> >> > relax
>>> >> > using the sample script relax_fit.py. I managed to read in the
>>> >> > spectra
>>> >> > and
>>> >> > obtain a value for the uncertainty. However, once it gets to the
>>> >> > point
>>> >> > of
>>> >> > performing a grid_search that's where it fails (see below). Has
>>> >> > anyone
>>> >> > had a
>>> >> > similar problem?
>>> >> >
>>> >> > [?1034h
>>> >> >
>>> >> >
>>> >> > relax 2.0.0
>>> >> >
>>> >> >   Molecular dynamics by NMR data analysis
>>> >> >
>>> >> >  Copyright (C) 2001-2006 Edward
>>> >> > d'Auvergne
>>> >> >  Copyright (C) 2006-2012 the relax
>>> >> > development
>>> >> > team
>>> >> >
>>> >> > This is free software which you are welcome to modify and
>>> >>

Re: relaxation curve fitting

2012-07-02 Thread Edward d'Auvergne
> >> The problem is that unfortunately the 'inv' model is simply not
>> >> implemented yet.  This is the model for the very old-school inversion
>> >> recovery type R1 experiments whereby the magnetisation returns to the
>> >> Boltzmann equilibrium.  I'm guessing you should be using the 'exp'
>> >> model instead.  This is the standard 2 parameter exponential fit
>> >> whereby the magnetisation goes to zero.  This is the standard nowadays
>> >> as it is considered far more accurate for the extraction of the rates
>> >> (simply by having one less parameter to fit).
>> >>
>> >> If you have collected the old-school data, there is a relax branch
>> >> created by Sébastien Morin for handling this experiment type.  This is
>> >> the 'inversion-recovery' branch located at
>> >> http://svn.gna.org/viewcvs/relax/branches/inversion-recovery/.
>> >> However this branch is not complete and will require someone willing
>> >> to dive into C code to complete it (see
>> >> http://www.mail-archive.com/relax-devel@gna.org/msg03353.html).  Note
>> >> that if someone does know C, completing this will require about 50
>> >> lines of code changed in the maths_fns/relax_fit.c and
>> >> maths_fns/exponential.c files (my rough guess anyway).  It should be
>> >> incredibly trivial for someone with C knowledge.  Anyway, I hope some
>> >> of this info helps.
>> >>
>> >> Regards,
>> >>
>> >> Edward
>> >>
>> >>
>> >>
>> >> On 30 June 2012 18:01, Romel Bobby  wrote:
>> >> > Dear all,
>> >> >
>> >> > I've been trying to use the curve fitting routine for R1 and R2 in
>> >> > relax
>> >> > using the sample script relax_fit.py. I managed to read in the
>> >> > spectra
>> >> > and
>> >> > obtain a value for the uncertainty. However, once it gets to the
>> >> > point
>> >> > of
>> >> > performing a grid_search that's where it fails (see below). Has
>> >> > anyone
>> >> > had a
>> >> > similar problem?
>> >> >
>> >> > [?1034h
>> >> >
>> >> >
>> >> > relax 2.0.0
>> >> >
>> >> >   Molecular dynamics by NMR data analysis
>> >> >
>> >> >  Copyright (C) 2001-2006 Edward
>> >> > d'Auvergne
>> >> >  Copyright (C) 2006-2012 the relax
>> >> > development
>> >> > team
>> >> >
>> >> > This is free software which you are welcome to modify and
>> >> > redistribute
>> >> > under
>> >> > the conditions of the
>> >> > GNU General Public License (GPL).  This program, including all
>> >> > modules,
>> >> > is
>> >> > licensed under the GPL
>> >> > and comes with absolutely no warranty.  For details type 'GPL' within
>> >> > the
>> >> > relax prompt.
>> >> >
>> >> > Assistance in using the relax prompt and scripting interface can be
>> >> > accessed
>> >> > by typing 'help' within
>> >> > the prompt.
>> >> >
>> >> > Processor fabric:  Uni-processor.
>> >> >
>> >> > script = 'relax_fit.py'
>> >> >
>> >> >
>> >> > 
>> >> >
>> >> >
>> >> > ###
>> >> > #
>> >> >   #
>> >> > # Copyright (C) 2004-2012 Edward d'Auvergne
>> >> >   #
>> >> > #
>> >> >   #
>> >> > # This file is part of the program relax.
>> >> >   #
>> >> > #
>> >> >   #
>> >> > # relax is free software; you can redistribute it and/or modify
>> >> >   #
>> >> > # it under the terms of the GNU General Public License as published
>> >> > by
>> >> >  #
>> >> > # the F

Re: relaxation curve fitting

2012-07-02 Thread Edward d'Auvergne
 trivial for someone with C knowledge.  Anyway, I hope some
>> of this info helps.
>>
>> Regards,
>>
>> Edward
>>
>>
>>
>> On 30 June 2012 18:01, Romel Bobby  wrote:
>> > Dear all,
>> >
>> > I've been trying to use the curve fitting routine for R1 and R2 in relax
>> > using the sample script relax_fit.py. I managed to read in the spectra
>> > and
>> > obtain a value for the uncertainty. However, once it gets to the point
>> > of
>> > performing a grid_search that's where it fails (see below). Has anyone
>> > had a
>> > similar problem?
>> >
>> > [?1034h
>> >
>> >
>> >                                             relax 2.0.0
>> >
>> >                               Molecular dynamics by NMR data analysis
>> >
>> >                              Copyright (C) 2001-2006 Edward d'Auvergne
>> >                          Copyright (C) 2006-2012 the relax development
>> > team
>> >
>> > This is free software which you are welcome to modify and redistribute
>> > under
>> > the conditions of the
>> > GNU General Public License (GPL).  This program, including all modules,
>> > is
>> > licensed under the GPL
>> > and comes with absolutely no warranty.  For details type 'GPL' within
>> > the
>> > relax prompt.
>> >
>> > Assistance in using the relax prompt and scripting interface can be
>> > accessed
>> > by typing 'help' within
>> > the prompt.
>> >
>> > Processor fabric:  Uni-processor.
>> >
>> > script = 'relax_fit.py'
>> >
>> > 
>> >
>> > ###
>> > #
>> >   #
>> > # Copyright (C) 2004-2012 Edward d'Auvergne
>> >   #
>> > #
>> >   #
>> > # This file is part of the program relax.
>> >   #
>> > #
>> >   #
>> > # relax is free software; you can redistribute it and/or modify
>> >   #
>> > # it under the terms of the GNU General Public License as published by
>> >  #
>> > # the Free Software Foundation; either version 2 of the License, or
>> >   #
>> > # (at your option) any later version.
>> >   #
>> > #
>> >   #
>> > # relax is distributed in the hope that it will be useful,
>> >  #
>> > # but WITHOUT ANY WARRANTY; without even the implied warranty of
>> >  #
>> > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> >   #
>> > # GNU General Public License for more details.
>> >  #
>> > #
>> >   #
>> > # You should have received a copy of the GNU General Public License
>> >   #
>> > # along with relax; if not, write to the Free Software
>> >  #
>> > # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
>> >  USA
>> >   #
>> > #
>> >   #
>> >
>> > ###
>> >
>> > """Script for relaxation curve fitting."""
>> >
>> >
>> > # Create the 'rx' data pipe.
>> > pipe.create('rx', 'relax_fit')
>> >
>> > # Load the backbone amide 15N spins from a PDB file.
>> > structure.read_pdb('IL6_mf.pdb')
>> > structure.load_spins(spin_id='@N')
>> >
>> > # Spectrum names.
>> > names = [
>> >     'T1_1204.04',
>> >     'T1_1504.04',
>> >     'T1_1804.04',
>> >     'T1_2104.04',
>> >     'T1_2404.04',
>> >     'T1_2754.04',
>> >     'T1_304.04',
>> >     'T1_304.040',
>> >     'T1_54.04',
>> >     'T1_604.04',
>> >     'T1_604.040',
>> >     'T1_904.04',
>> > ]
>> >
>> > # Relaxation times (in seconds).
>> > times = [
>> >     1.204,
>> >     1.504,
>> >     1.804,
>> >     2.104,
>> >     2.404,
>> >     2.754,
>> >     0.304,
>> >     0.304,
>> >     0.054,
>> >     0.604,
>> >     

Re: relaxation curve fitting

2012-06-30 Thread Edward d'Auvergne
Hi Romel,

The problem is that unfortunately the 'inv' model is simply not
implemented yet.  This is the model for the very old-school inversion
recovery type R1 experiments whereby the magnetisation returns to the
Boltzmann equilibrium.  I'm guessing you should be using the 'exp'
model instead.  This is the standard 2 parameter exponential fit
whereby the magnetisation goes to zero.  This is the standard nowadays
as it is considered far more accurate for the extraction of the rates
(simply by having one less parameter to fit).

If you have collected the old-school data, there is a relax branch
created by Sébastien Morin for handling this experiment type.  This is
the 'inversion-recovery' branch located at
http://svn.gna.org/viewcvs/relax/branches/inversion-recovery/.
However this branch is not complete and will require someone willing
to dive into C code to complete it (see
http://www.mail-archive.com/relax-devel@gna.org/msg03353.html).  Note
that if someone does know C, completing this will require about 50
lines of code changed in the maths_fns/relax_fit.c and
maths_fns/exponential.c files (my rough guess anyway).  It should be
incredibly trivial for someone with C knowledge.  Anyway, I hope some
of this info helps.

Regards,

Edward



On 30 June 2012 18:01, Romel Bobby  wrote:
> Dear all,
>
> I've been trying to use the curve fitting routine for R1 and R2 in relax
> using the sample script relax_fit.py. I managed to read in the spectra and
> obtain a value for the uncertainty. However, once it gets to the point of
> performing a grid_search that's where it fails (see below). Has anyone had a
> similar problem?
>
> [?1034h
>
>
>                                             relax 2.0.0
>
>                               Molecular dynamics by NMR data analysis
>
>                              Copyright (C) 2001-2006 Edward d'Auvergne
>                          Copyright (C) 2006-2012 the relax development team
>
> This is free software which you are welcome to modify and redistribute under
> the conditions of the
> GNU General Public License (GPL).  This program, including all modules, is
> licensed under the GPL
> and comes with absolutely no warranty.  For details type 'GPL' within the
> relax prompt.
>
> Assistance in using the relax prompt and scripting interface can be accessed
> by typing 'help' within
> the prompt.
>
> Processor fabric:  Uni-processor.
>
> script = 'relax_fit.py'
> 
> ###
> #
>   #
> # Copyright (C) 2004-2012 Edward d'Auvergne
>   #
> #
>   #
> # This file is part of the program relax.
>   #
> #
>   #
> # relax is free software; you can redistribute it and/or modify
>   #
> # it under the terms of the GNU General Public License as published by
>  #
> # the Free Software Foundation; either version 2 of the License, or
>   #
> # (at your option) any later version.
>   #
> #
>   #
> # relax is distributed in the hope that it will be useful,
>  #
> # but WITHOUT ANY WARRANTY; without even the implied warranty of
>  #
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>   #
> # GNU General Public License for more details.
>  #
> #
>   #
> # You should have received a copy of the GNU General Public License
>   #
> # along with relax; if not, write to the Free Software
>  #
> # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
>   #
> #
>   #
> ###
>
> """Script for relaxation curve fitting."""
>
>
> # Create the 'rx' data pipe.
> pipe.create('rx', 'relax_fit')
>
> # Load the backbone amide 15N spins from a PDB file.
> structure.read_pdb('IL6_mf.pdb')
> structure.load_spins(spin_id='@N')
>
> # Spectrum names.
> names = [
>     'T1_1204.04',
>     'T1_1504.04',
>     'T1_1804.04',
>     'T1_2104.04',
>     'T1_2404.04',
>     'T1_2754.04',
>     'T1_304.04',
>     'T1_304.040',
>     'T1_54.04',
>     'T1_604.04',
>     'T1_604.040',
>     'T1_904.04',
> ]
>
> # Relaxation times (in seconds).
> times = [
>     1.204,
>     1.504,
>     1.804,
>     2.104,
>     2.404,
>     2.754,
>     0.304,
>     0.304,
>     0.054,
>     0.604,
>     0.604,
>     0.904
> ]
>
> # Loop over