Search found 60 matches

by JoelFrederico
07 Feb 2013, 22:37
Forum: Bugs
Topic: alter_elements, quads, and matrices
Replies: 6
Views: 3363

Re: alter_elements, quads, and matrices

Specifically, it seems to change K1=0.2959427141 to K1=0.28913603221540796 when I asked for K1=0.977. If you look at the first element, either in the binary file or the ascii file, it comes out with R11=0.964075, which corresponds to the K1=0.289136..., as long as I'm assuming that L=0.5. If I chang...
by JoelFrederico
07 Feb 2013, 22:23
Forum: Bugs
Topic: alter_elements, quads, and matrices
Replies: 6
Views: 3363

alter_elements, quads, and matrices

Hey all, This seems like an odd bug. I'm using a pretty simple line with a few quads. Without alter_elements, the K1 value I give my quads returns the correct matrix in the printed matrix file. When I turn on alter_elements in order to change the K1 value of the quads, it appears to change the K1 va...
by JoelFrederico
02 Nov 2012, 14:39
Forum: General
Topic: SDDS Python Demo Fails
Replies: 6
Views: 2321

Re: SDDS Python Demo Fails

That looks great! Thanks for helping.
by JoelFrederico
02 Nov 2012, 13:49
Forum: General
Topic: SDDS Python Demo Fails
Replies: 6
Views: 2321

Re: SDDS Python Demo Fails

It's better... no errors, but the file is written incorrectly. I'm running on RedHat: =============================================================================== RHEL Workstation 6.3 (Santiago) 2.6.32-279.5.2.el6.x86_64 (4x2992MHz OptiPlex 960) ===================================================...
by JoelFrederico
01 Nov 2012, 17:09
Forum: General
Topic: SDDS Python Demo Fails
Replies: 6
Views: 2321

Re: SDDS Python Demo Fails

It seems to have the same problem with characters in columns. The save functionality just seems to be really broken. Is this true? Or is it just me?
by JoelFrederico
01 Nov 2012, 16:55
Forum: General
Topic: SDDS Python Demo Fails
Replies: 6
Views: 2321

SDDS Python Demo Fails

Hey all, I can't seem to get the SDDS Python Demo function to work. I'm diving into the source, but I'm new to the Python C API, so it's slow. So far I've traced the problem to sddsdata.SetParameter(x.index,page,value) where value is a string. Whenever I ask that function to return a value it gives ...
by JoelFrederico
01 Oct 2012, 17:25
Forum: General
Topic: Extract SDDS Page Efficiently
Replies: 10
Views: 3755

Re: Extract SDDS Page Efficiently

Okay, too quick to speak. I don't think this will be a problem for me now because I'm not looking at integers, but it's strange. I'm including the code you'll need to replicate the problem. The first run through, I believe before it compiles .pyc files, it has errors reading the second column in pag...
by JoelFrederico
01 Oct 2012, 13:29
Forum: General
Topic: Extract SDDS Page Efficiently
Replies: 10
Views: 3755

Re: Extract SDDS Page Efficiently

Ohhhhh, awesome, this is exactly the information I was looking for. Thanks! I think this can be called closed now.
by JoelFrederico
28 Sep 2012, 16:57
Forum: General
Topic: Extract SDDS Page Efficiently
Replies: 10
Views: 3755

Re: Extract SDDS Page Efficiently

Thanks for the code, I'll see if I can make it work.

Question: So (sparse_offset >= 0)? Not (sparse_offset > 0)? Is this the same with sparse_interval?