Opened 13 years ago
Closed 12 years ago
#114 closed defect (fixed)
Duchamp is not writing spectra
Reported by: | Owned by: | MatthewWhiting | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Output | Version: | 1.1.10 |
Severity: | major | Keywords: | |
Cc: |
Description (last modified by )
Hello,
My problem with Duchamp is that it seems not to writing the spectra files. The only outputs I got are the result file and the mask fits file.
the input is an image cube with 15 channels.
here is my parmeters file:
imageFile briggs0.fits logFile log1.txt outFile L22006_SB138_result_thr04.txt flagSeparateHeader true HeaderFile header.txt spectraFile L22006_SB138_spectra_thr04.ps flagTextSpectra 1 spectraTextFile L22006_SB138_spectra_file_thr04.txt spectralMethod sum minPix 3 threshSpatial 5 flagAdjacent false flagATrous 0 snrRecon 10. snrCut 15. threshold 0.4 minChannels 3 flagBaseline 0 flagKarma 1 karmaFile duchamp.ann flagnegative 0 flagMaps 1 flagOutputMask 1 flagMaskWithObjectNum 1 flagXOutput 0
thanks! cheers
Nicoletta Krachmalnicoff
Change History (6)
comment:1 Changed 13 years ago by
Status: | new → assigned |
---|
comment:2 Changed 13 years ago by
Hi Matt,
thank you for your quick reply! It seems not to work also if I enable the X output..
I can wait for the new version if you really plan to release it soon. :)
Cheers,
Nicoletta
comment:3 Changed 13 years ago by
Description: | modified (diff) |
---|
Actually, I may have been premature in identifying the problem. The problem I fixed was if pgplot was not enabled (at the build stage), rather than just using flagXOutput.
Did you enable pgplot when you built Duchamp? (Did you in fact build it yourself?) If you haven't enabled it, then that is the cause of the problem. If you have (ie. are you able to produce graphical postscript plots? As these should be produced even with flagXOutput = false) then there is something else wrong. But it is something I can't immediately reproduce.
comment:4 Changed 13 years ago by
Hi Matt,
actually I didn't build Duchamp by myself...what I know is that when I run Duchamp I always get this "PGPLOT has not been enabled, so no graphical output." (in both cases, with flagXoutput=1 or flagXoutput=0). in any case..are you telling me that if pgplot is not working Duchamp can't produce the spectra file? (I mean the spectra.ps file and the text file with the spectra numbers).
thank you! cheers,
Nicoletta
comment:5 Changed 13 years ago by
Yes, in this case, all the graphical output is disabled, which includes the spectra.ps output. Also, due to the bug I mentioned, the text file is not produced.
This has been fixed in the new version, so you should at least be able to get the text file. It is probably worthwhile asking whoever's in charge of installing Duchamp to look at getting PGPlot linked, otherwise you won't be able to get the graphical output (which does help the analysis, I think).
I released the new version 1.1.11 yesterday, so it's worth getting that. Those responsible can get in touch with me if they come across problems getting it built completely.
comment:6 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
No further feedback on this, so I'm assuming things have been working. Any other problems please create a new ticket.
Hi Nicoletta,
I had found this problem not too long ago - the issue is that the function to write the text spectra was caught up in the spectral-plotting function, so if you disabled the X output via flagXOutput = 0, then it wouldn't get done.
I'm actually about to release a new (incremental) version - 1.1.11 - that includes a fix to this problem. This will come out in a day or so, and I can cc you on the announcement.
Matt.