Re: [S2PLOT] Abridged summary of s2plot@googlegroups.com - 1 Message in 1 Topic

41 views
Skip to first unread message

Mario Agustin Sgro

unread,
Feb 26, 2014, 10:32:30 AM2/26/14
to s2p...@googlegroups.com
Hi Tom,

   where I can find the s2plot-python repository? it isn't in your public repositories at github.
   thanks in advance.

cheers,

Mario.-


2014-02-26 4:36 GMT-03:00 <s2p...@googlegroups.com>:

Group: http://groups.google.com/group/s2plot/topics

    "t.r.marsh" <tom.r...@gmail.com> Feb 25 01:11AM -0800  

    Hi,
     
    I have made a few changes to the s2plot python extension as listed in the
    attached git log. The main ones are:
     
    1) A fix to a path in the installation script which allows it pretty much ...more

    Back to top

--
--
You received this message because you are subscribed to the Google Groups "S2PLOT" group.
To post to this group, send email to s2p...@googlegroups.com
To unsubscribe from this group, send email to s2plot-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/s2plot?hl=en
 
Visit the S2PLOT web pages here: http://astronomy.swin.edu.au/s2plot
---
You received this message because you are subscribed to the Google Groups "S2PLOT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to s2plot+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Mario Agustin Sgro

unread,
Feb 26, 2014, 3:19:52 PM2/26/14
to s2plot
Hi folks,
 
     is there some easier way of draw a spherical grid representing the spherical coordinates than doing it by hand?
  
     cheers,

Mario.-

Chris Fluke

unread,
Feb 26, 2014, 6:15:37 PM2/26/14
to s2p...@googlegroups.com
Hi Mario,

 is there some easier way of draw a spherical grid representing the spherical coordinates than > doing it by hand?
I have some code that I'm happy to share which does the spherical grids.  If you can please bear with me for a day or two, I'll put it somewhere obvious on the main s2plot page.

I'm always interested to hear about/see samples of how people are using s2plot to support their research.

Regards
Chris

Thomas Marsh

unread,
Feb 26, 2014, 6:50:00 PM2/26/14
to s2p...@googlegroups.com
hi mario,

I was waiting for a go ahead before uploading it, but given your message I have stuck it on github now.

Let me know of problems.

tom

--
Professor T.R. Marsh      Tel.:     +44-(0)24765-74739
Department of Physics    FAX :  +44-(0)24765-23762
University of Warwick     
Coventry CV4 7AL, UK    www.astro.warwick.ac.uk

Mario Agustín Sgró

unread,
Feb 28, 2014, 1:28:28 PM2/28/14
to s2p...@googlegroups.com

  Thanks, Tom! It works great!

  I just had to replace the line #52 in file setup.py: 

     dylibExt = '.so'

  by
 
     dylibExt = '.a'
    
  I don't have the shared library libs2plot.so and I don't know how to build it.

    

  Mario.-

Thomas Marsh

unread,
Mar 1, 2014, 12:18:44 PM3/1/14
to s2p...@googlegroups.com
Hi Mario,

I didn't realise that the Python link would work with archives (.a) as opposed to shareable objects (.so) but thinking about it, it actually builds a separate shareable object that Python can load dynamically (when you import) so it makes sense. I should have a think as to whether it would not be preferable to make the .so to .a change permanent. You only get the libs2plot.so if you set the environment variable S2SHARED to yes when installing the C library. By the sound of it, you didn't,

Tom



--
--
You received this message because you are subscribed to the Google Groups "S2PLOT" group.
To post to this group, send email to s2p...@googlegroups.com
To unsubscribe from this group, send email to s2plot-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/s2plot?hl=en
 
Visit the S2PLOT web pages here: http://astronomy.swin.edu.au/s2plot
---
You received this message because you are subscribed to the Google Groups "S2PLOT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to s2plot+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Mario Agustin Sgro

unread,
Mar 5, 2014, 9:21:34 AM3/5/14
to s2plot
Hi Tom,
   
    you are right! I had set the environment variable S2SHARED to no in the bashrc file, and I forgot it when I have built the python extensions.
    
    thanks again.

Mario.-



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mario Agustín Sgró
IATE-CONICET
Observatorio Astronómico
Laprida 854
X5000BGR Córdoba, Argentina
Phone (+54) 351 433 1066 (ext. 209)
Fax   (+54) 351 433 1066 (ext. 100)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Chris Fluke

unread,
Mar 5, 2014, 7:49:38 PM3/5/14
to s2p...@googlegroups.com
Hi Mario,

I've now put some sample code online.  You can access this from the link on the main S2PLOT a page:


Look for "How to create and display spherical coordinate grids"

Please let me know if it does not work for you.  

It is C code, so I'll have to leave it to you to convert to other languages, as required.

Regards
Chris

Mario Agustin Sgro

unread,
Mar 9, 2014, 9:30:04 AM3/9/14
to s2plot
Hi Chris!

    excellent! It works perfectly. C is my official language :P. Thank you very much!

    Now, I'm tying to make some funny plots showing the geometrical features of a galaxy catalog.
    
  Regards, 
  Mario.-


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mario Agustín Sgró
IATE-CONICET
Observatorio Astronómico
Laprida 854
X5000BGR Córdoba, Argentina
Phone (+54) 351 433 1066 (ext. 209)
Fax   (+54) 351 433 1066 (ext. 100)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages