Andy
Can you send me a Varian shape - then I'll make the varian2shape rightaway.
Thomas
t-size: 10px; font-weight: normal; } #ygrp-msg p a { font-family: Verdana; font-size: 10px; } #ygrp-mlmsg a { color: #1E66AE; } div.attach-table div div a { text-decoration: none; } div.attach-table { width: 400px; } -->Thomas,
so this kind of thing should work for the varian shapes as well I presume?Andy____________
_________ _________ _________ _________ __
Andrew S. Lipton Ph. D.
Biological Sciences Division/Cell Biology & Biochemistry GroupFUNDAMENTAL AND COMPUTATIONAL SCIENCES DIRECTORATE
Pacific Northwest National Laboratory
902 Battelle Boulevard
P.O. Box 999, MSIN K8-98
Richland, WA 99352 USA
Tel: 509-371-6533
Fax: 509-371-6546
as.lipton@pnl.gov
www.pnl.govOn Mar 4, 2009, at 4:48 AM, Thomas Vosegaard wrote:Hi,Using the new shape pulse features of simpson 2 it is very easy to import a Bruker shape using the following procedure:proc brukershape {shapefile} {global parset fp [open $shapefile r]foreach i [split [read $fp] "\n"] {if {[llength $i] != 2 || [string index $i 0] == "#"} {continue}set r [split $i ","]lappend pul [list [expr [lindex $r 0 0]] [expr [lindex $i 1 0]]]}close $fpreturn [list2shape $pul]! }This returns a shape-pulse pointer which ma y be used with the pulse_shaped command.Thomas********************* ********* ********* ********* ********* ********* ******* Thomas Vosegaard, Assoc. Prof.Director of Engineering Studies at Aarhus School of EngineeringCenter for Insoluble Protein Structures (inSPIN)Department of Chemistry andInterdisciplinary Nanoscience Center (iNANO)Aarhus UniversityLangelandsgade 140, DK-8000 Aarhus C, DenmarkTel: +45 8942 3866, Cell: +45 6020 2639, Fax: +45 8619 6199********************* ********* ********* ********* ********* ********* *******
On Mar 4, 2009, at 07:15 , Jayanthi S wrote:Dear All,
I have been trying to put Bruker shape file in simpson program. The atachement Dr. Thomas Vosegaard has provided long back (Nov 19 2007) is not seen. It would be nice if anyone please help me with this.
looking forward....
Thanks
Jayanthi