Bug 248907

Summary: Kalzium when displaying spectra of elements cannot display their spectra in visible light, only infra red
Product: [Applications] kalzium Reporter: vince.barwinski
Component: generalAssignee: Kalzium Developers <kalzium>
Status: RESOLVED FIXED    
Severity: normal CC: etienne.rebetez
Priority: NOR    
Version: 1.4.2pre4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description vince.barwinski 2010-08-24 15:34:47 UTC
Version:           1.4.2pre4 (using KDE 4.2.2) 
OS:                Linux

Kalzium when displaying spectra of elements cannot display their spectra in visible light, only infra red. I try to adjust the maximum and minimum wavelengths to visible range, say 400 nanometres to 700 nanometres, but the program just does not accept these legitimate values. It only accepts ones in the range of several thousands of nanometres, which is in the range of Infra red.

Reproducible: Always

Steps to Reproduce:
Click on an element from periodic table, then select "spectrum" from the options on the left, choose spectrum. This will be then displayed but not in visible spectrum. Trying to change the values of maximum and minimum wavelength to the visible light range of 400 to 700 nanometres will not be accepted. 

Actual Results:  
Unable to view spectrum of elements in visible light range of 400 to 700 nanometres

Expected Results:  
Should be able to see spectra of elements in visible light range. Spectral lines should be given appropriate colours, eg double yellow sodium emission line should be in yellow. This is what happened in previous versions

OS: Linux (i686) release 2.6.32-24-generic-pae
Compiler: cc
Unable to view spectrum of elements in visible light range of 400 to 700 nanometres, unlike in previous versions. These values just not accepted
Comment 1 Etienne 2010-08-27 19:00:54 UTC
Hi vince

Thanks for your report. The issue is, that the wrong units are shown. 
The spectrumdata is now in angstrom. So the visible range is 4000Å to 7000Å. 
I fixed the units and the colors in trunk. So in 4.6 it will be fine;)
When i find some time i'll fix the 4.5 branch.

Etienne
Comment 2 vince.barwinski 2010-08-28 08:02:51 UTC
Hi Etienne

Thanks very much for the reply. I appreciate it.

I did have a feeling that perhaps the units were mixed up between angstroms
and nanometres. I just purchased a new ACER laptop and switched from Mepis 7
on my old old Acer Travelmate to Ubuntu 10.04.1 on my new one.

Keep up the work on this excellent program.

Cheers
Vince

On 28 August 2010 03:00, Eti <etienne.rebetez@oberwallis.ch> wrote:

> https://bugs.kde.org/show_bug.cgi?id=248907
>
>
> Eti <etienne.rebetez@oberwallis.ch> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Status|UNCONFIRMED                 |NEW
>                 CC|                            |etienne.rebetez@oberwallis.
>                   |                            |ch
>     Ever Confirmed|0                           |1
>
>
>
>
> --- Comment #1 from Eti <etienne rebetez oberwallis ch>  2010-08-27
> 19:00:54 ---
> Hi vince
>
> Thanks for your report. The issue is, that the wrong units are shown.
> The spectrumdata is now in angstrom. So the visible range is 4000Å to
> 7000Å.
> I fixed the units and the colors in trunk. So in 4.6 it will be fine;)
> When i find some time i'll fix the 4.5 branch.
>
> Etienne
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
Comment 3 Etienne 2010-10-18 19:05:02 UTC
This bug can be closed. The patch is already in trunk.