Experience with the program 'Gaussfit'

  • Context: Undergrad 
  • Thread starter Thread starter NoobixCube
  • Start date Start date
  • Tags Tags
    Experience Program
Click For Summary

Discussion Overview

The discussion revolves around experiences and challenges related to the program 'Gaussfit', particularly in the context of troubleshooting and coding issues. Participants share their insights on finding help and alternative resources for curve fitting in astronomy and related fields.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant expresses frustration with the lack of documentation and support for 'Gaussfit', seeking alternative troubleshooting resources.
  • Another participant comments on the general quality of astronomy software, suggesting that many codes are poorly documented and may require users to understand the code deeply.
  • There is a suggestion to utilize general developer forums and to be specific about the issues faced when seeking help.
  • A participant mentions their MSc project and the challenges of using a new code with limited guidance from their supervisor.
  • Concerns are raised about the perceived elitism of the CosmoCoffee forum, with mixed opinions on its helpfulness for users seeking assistance.
  • One participant shares a recommendation for using IDL's curve fitting packages, including a mention of MPFIT as an alternative for fitting tasks.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best resources for troubleshooting 'Gaussfit', with some expressing skepticism about the helpfulness of certain forums while others share positive experiences. The discussion remains unresolved regarding the most effective approach to gain assistance.

Contextual Notes

Participants note limitations in documentation and the need for specific problem descriptions when seeking help. There is also mention of varying levels of coding knowledge among participants, which may affect their ability to troubleshoot effectively.

Who May Find This Useful

This discussion may be useful for students and researchers in astronomy or related fields who are using 'Gaussfit' or similar curve fitting software and are seeking troubleshooting advice or alternative resources.

NoobixCube
Messages
154
Reaction score
0
Does anyone have any experience with the program 'Gaussfit'
I am writing a code, but get a lot of problems and there is minimal help from the authors website. Could anyone suggest another place to gain troubleshooting knowledge?
Original website : http://clyde.as.utexas.edu/Gaussfit.html
 
Astronomy news on Phys.org
I feel your pain! Most software written by and for astronomers is pretty horrible code, poorly commented and documented. I've used a number of other astronomy codes, but unfortunately not that particular one so I can't give you specific advice.

More generally though google searches can be surprisingly helpful for this sometimes. The most specific phrase may well pick something up. It really depends on what your problems are, they may be more to do with general problems that might have solutions in general developers forums rather than anything specific to that code or astronomy. If you give some more details about what problems you are having that might be useful. Remember there is also a coding sub-forum here that could be useful.

If it is more to do with the actually calculations in the code (as opposed to problems compiling, linking etc) then it's harder as there is not likely to be a lot on the web for the specific issues. It might mean that you need to really read through the code get an understand of it right from the bare bones. I've had to effectively retro write my own documentation for codes in the past that didn't come with any, based solely on reading the code itself. This is not as fun as it sounds, but can be a useful process as you really have a chance to understand how it all works and maybe pick up some neat coding tricks as well.

Of course it depends how good your coding knowledge is. If you don't really know C and there's no documentation you're probably in some trouble. In this case either learn better C (good to do anyway) or you might have to ask the authors some questions. In this case though it pays to be as specific as possible, it's not likely they will answer an email saying 'how do you use your code?', you'd really need to say what you've tried and the specific issues you're having.

Are you doing this for a University project? If so you must have a supervisor (or advisor depending on what continent you are on) that should be able to help. Don't be afraid to ask silly questions, it's better than wasting time on a problem you can't solve!

Edit: One more thing I forgot to mention, there is a forum http://cosmocoffee.info/" that has a section for discussing problems with astronomy codes. It is mainly a cosmology site and the codes discussed are generally cosmology, rather than astronomy, related but it might be a good place to ask for help none the less as it is frequented by professional astronomers only, so there is a good chance that someone has used this code. Again though, you will have to be more specific about the problems you are having to get meaningful help.
 
Last edited by a moderator:
Thanks for taking the time to answer my post!
Yes this is for an MSc, but the code is new to both myself and my supervisor so I am in a pickle.
My coding knowledge is suffice but I will not have time to work through the whole code methinks.
That website you suggested seems pretty daunting with having to use ones proper name etc. But I will try my luck with it none the less.
I have emailed the authors of the code in the past with a specific error message, but they took me as bit of a toy, so I might outline my problem in full to show that I am seriously working forward to a goal.
So thanks Wallace I will update you when possible
 
Wallace,
I have read some posts on the Coffee cosmo forum, it seems very elitist to say the least. Do you think they would be very helpful?
Thanks
 
CosmoCoffee is intended to be (and is) a forum for professional cosmologists and astronomers only (and students of course! just not the general public). I guess then by comparison to PF it is 'elitist' but I have found people to be very polite and helpful, at least in the computer code section. I've asked some very basic questions about cosmology codes there in the past and have gotten very useful help.
 
Ok, I will give it a shot. Having some trouble with registration but it should sort itself out. Thanks again for your help Wallace
 
What are you trying to fit? IDL has many curve fitting packages, actually one called gaussfit, and a free external package MPFIT by Craig Markwardt is pretty easy to use at least for 1d stuff. I've never tried 2d fits, but I know it can handle them, and its easy to code up a 2d gaussian. Just a suggestion. . .
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
13K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
38
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K