Results 1 to 16 of 16

Thread: Looking for Mollweide projection astronomy software

  1. #1
    Join Date
    Nov 2008
    Posts
    458

    Looking for Mollweide projection astronomy software

    Hi all,

    I would like to make a pretty Mollweide projection all-sky plot, but I'm having trouble finding software. I would like to feed in J2000 equatorial coordinates in sexagesimal representation, spectral type, and distance into some piece of software that could return the Mollweide projection plot with the spectral type indicated by a color code and the distance indicated by bubble size.

    I will settle for any piece of software that can handle at least some of my desires. Minimal coding is preferred. No coding required would be ideal. If there is some online tool that I could feed data and spit out a plot for me, that would be nice. If coding is needed, I can do matlab.

    Basically, I want a nice "cherry" to put on top of my thesis.

    Any suggestions?


    Thanks,
    M74

  2. #2
    Join Date
    May 2005
    Posts
    4,530
    Just out of curiosity, why Mollweide?

  3. #3
    Join Date
    Nov 2008
    Posts
    458
    Quote Originally Posted by grapes View Post
    Just out of curiosity, why Mollweide?
    The various data I'm using derives from observations scattered across the whole sky, so I wanna make sure not to give preference to any particular area of the sky. Plus, I think they look pretty


    M74
    Last edited by m74z00219; 2012-Jul-14 at 01:47 AM. Reason: clarity,sig

  4. #4
    If someone around there has an IDL license, one of its projection options is Mollweide, and a routine with loop can make individual symbol sizes and colors for each point.

  5. #5
    Join Date
    Mar 2007
    Location
    Falls Church, VA (near Washington, DC)
    Posts
    4,026
    Quote Originally Posted by m74z00219 View Post
    The various data I'm using derives from observations scattered across the whole sky, so I wanna make sure not to give preference to any particular area of the sky. Plus, I think they look pretty


    M74
    What do you mean by "giving preference?"

  6. #6
    Join Date
    May 2005
    Posts
    4,530
    Quote Originally Posted by Hornblower View Post
    What do you mean by "giving preference?"
    Probably, that Mollweide is an equal area projection.

    There are other equal area projections, that are not as complicated to compute (a non-issue, if you let the computer do it for you :) ). So, is it that the data is pretty, or the Mollweide is pretty? :)

  7. #7
    Join Date
    Nov 2008
    Posts
    458
    Quote Originally Posted by Hornblower
    What do you mean by "giving preference?"
    What grapes said.


    Quote Originally Posted by grapes View Post
    There are other equal area projections, that are not as complicated to compute (a non-issue, if you let the computer do it for you :) ). So, is it that the data is pretty, or the Mollweide is pretty? :)
    Oh, if there are other equal area projections, I am very much open. It's looking like I'm going to have to write a little matlab script at this point anyway. What do you suggest? The data is interesting enough, I suppose, but this allsky map is meant to be more of a nice aesthetic. However, I am a firm believer in the power of communicating data well.

    I highly recommend Rosling's TED talk: http://www.youtube.com/watch?v=hVimVzgtD6w


    M74

  8. #8
    Join Date
    Dec 2004
    Posts
    11,219
    I'm pretty sure the COBE and WMAP maps used Mollweide
    projection. Unless you find something that seems distinctly
    better and want to champion it, I'd stick with what the other
    guys are using.

    -- Jeff, in Minneapolis
    http://www.FreeMars.org/jeff/

    "I find astronomy very interesting, but I wouldn't if I thought we
    were just going to sit here and look." -- "Van Rijn"

    "The other planets? Well, they just happen to be there, but the
    point of rockets is to explore them!" -- Kai Yeves

  9. #9
    Join Date
    May 2005
    Posts
    4,530
    Quote Originally Posted by m74z00219 View Post
    Oh, if there are other equal area projections, I am very much open. It's looking like I'm going to have to write a little matlab script at this point anyway. What do you suggest?
    Probably the Lambert cylindrical. All you do is take the sine of each latitude and plot--but, as I said, if you have to program this, any projection will be about the same effort. I would *not* use the Peters, a rough comparison of it to a globe is jarring (and, it's politically charged). (The Peters is a special case of the Gall, anyway--as is the Lambert cylindrical)

    http://en.wikipedia.org/wiki/Map_projection#Equal-area


    Quote Originally Posted by Jeff Root View Post
    I'm pretty sure the COBE and WMAP maps used Mollweide
    projection. Unless you find something that seems distinctly
    better and want to champion it, I'd stick with what the other
    guys are using.
    Definitely true.

  10. #10
    Join Date
    Nov 2008
    Posts
    458
    Well, I decided on something called the Hammer projection, which is like the Mollweide but with no parallels.

    http://en.wikipedia.org/wiki/Hammer_projection


    I hope the equations are correct.


    Anyhoo, I attached a plot with fake data (random dots). Looks like this is gonna work. The real leg will be converting my sexagesimal coordinates (ra in hours, dec in degrees) into radians.


    I'll post the final result when I'm done.


    Thanks everyone,
    M74
    Attached Images Attached Images

  11. #11
    Join Date
    May 2005
    Posts
    4,530
    Quote Originally Posted by m74z00219 View Post
    Well, I decided on something called the Hammer projection, which is like the Mollweide but with no parallels.

    http://en.wikipedia.org/wiki/Hammer_projection
    Nice, that's a lot more complicated than the Lambert, but of course once you start...

    It is elliptical in shape, like the Mollweide, but you don't have to iterate in the calculations. Possibly, in the gross results, it'd be difficult to tell much of a difference.

  12. #12
    Join Date
    Dec 2004
    Posts
    11,219
    Why are the random dots bunched near the poles?
    I wouldn't think that would happen in an equal-area
    projection. (In a Robinson projection, I'd expect
    the dots to be more sparse near the poles.)

    -- Jeff, in Minneapolis
    http://www.FreeMars.org/jeff/

    "I find astronomy very interesting, but I wouldn't if I thought we
    were just going to sit here and look." -- "Van Rijn"

    "The other planets? Well, they just happen to be there, but the
    point of rockets is to explore them!" -- Kai Yeves

  13. #13
    Join Date
    Nov 2008
    Posts
    458
    Quote Originally Posted by Jeff Root View Post
    Why are the random dots bunched near the poles?
    I wouldn't think that would happen in an equal-area
    projection. (In a Robinson projection, I'd expect
    the dots to be more sparse near the poles.)

    -- Jeff, in Minneapolis
    I'm not really sure what I thought "equal area" meant before, but what it actually means in this context is this: the ratio of sky area A to its projected area A' is equal to the ratio of sky area B to its projected area B'. I suppose the random dots had to appear denser at the bottom and top due to all lines of longitude meeting at the poles.

    http://www.progonos.com/furuti/MapPr.../areaPres.html


    As promised, here's what I have so far. This is real data. It reads left to right, right ascension (0 to 2*pi radians), and bottom to top, declination (-pi/2 to pi/2 radians).

    To give a little context, the "hotter" or "whiter" the color the earlier the spectral type (M6 to Y2). Size of circles is a redundant indicator in here.
    Attached Images Attached Images
    Last edited by m74z00219; 2012-Jul-17 at 06:20 PM. Reason: context; sky, not "land area" ... derp

  14. #14
    Join Date
    May 2005
    Posts
    4,530
    Quote Originally Posted by m74z00219 View Post
    Anyhoo, I attached a plot with fake data (random dots). Looks like this is gonna work. The real leg will be converting my sexagesimal coordinates (ra in hours, dec in degrees) into radians.
    Quote Originally Posted by m74z00219 View Post
    I'm not really sure what I thought "equal area" meant before, but what it actually means in this context is this: the ratio of sky area A to its projected area A' is equal to the ratio of sky area B to its projected area B'. I suppose the random dots had to appear denser at the bottom and top due to all lines of longitude meeting at the poles.
    Ah, I see. I was like Jeff--when you said fake random data, I was expecting data uniformly distributed over the sky, not uniformly distributed in lat/lon. I'd also noticed the "lack" of points along the equatorial regions.

    Your final product seems much better, from that standpoint. Although, it still has clumps, and voids.

  15. #15
    For the future, the matplotlib basemap module does all kinds of map projections, including mollweide. It was originally written to make plots of the Earth, but can easily work with astronomical data as well (e.g., our reversed longitude convention). The examples directory includes an "allskymap.py" file with some additional tricks to that end.

  16. #16
    Join Date
    Nov 2008
    Posts
    458
    Quote Originally Posted by grapes
    Your final product seems much better, from that standpoint. Although, it still has clumps, and voids.
    Thanks. As for the clumps and voids...it might reflect a bias in what parts of the sky were searched. A lot of these objects are 2MASS and WISE and those are both all sky surveys. However, I also have a lot of objects from VLA, CFHT (Hawaii), and CTIO (Chile). IDK for sure, but this is something to think about.

    I was also thinking that they might be loosely matching the Milky Way, but that can't be since they're all nearby objects (<25pc)

    Quote Originally Posted by parejkoj
    For the future, the matplotlib basemap module does all kinds of map projections, including mollweide. It was originally written to make plots of the Earth, but can easily work with astronomical data as well (e.g., our reversed longitude convention). The examples directory includes an "allskymap.py" file with some additional tricks to that end.
    Thanks for the info!

Similar Threads

  1. Astronomy software and alike
    By jonfr in forum Science and Technology
    Replies: 1
    Last Post: 2009-Mar-23, 07:26 AM
  2. Astronomy software
    By KingMerv00 in forum Astronomy
    Replies: 13
    Last Post: 2005-Jun-10, 03:49 AM
  3. Bad Astronomy Software
    By AstroCreep in forum Small Media at Large
    Replies: 7
    Last Post: 2004-Feb-25, 08:56 AM
  4. Astronomy Software
    By imported_Stephen in forum Astronomical Observing, Equipment and Accessories
    Replies: 0
    Last Post: 2003-Aug-20, 05:30 AM
  5. Good Astronomy Software?
    By David Hall in forum Astronomy
    Replies: 5
    Last Post: 2002-Jan-14, 11:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •