SpectreSolaireGradue DVD



This photo was viewed 2 times and was downloaded in full size 2 times.

This photo was liked 0 times

If you are a member, please login in order to see the source link of the above image.


English: Solar spectrum with Fraunhofer lines (taken through a DVD as diffraction grating)
Français : Spectre solaire avec raies de Fraunhofer (photo d'une fente taillée au cutter à travers un DVD prise avec un Canon Powershot A70).
Date 24 March 2011(2011-03-24)
Source Own work
Author Xofc

I am not 100% sure the scale is right. Pas sûr que l'échelle soit vraiment correcte.
(It is a screenshot of an SVG file displayed by Firefox)

The code is not perfect, but looks like this :

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="2200" height="512" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" >

<g stroke="black" id="marques"></g>
<script type="text/javascript">
var SVG_NS ="http://www.w3.org/2000/svg";
var SVG_LNK = "http://www.w3.org/1999/xlink";
const pi=3.141592754
var doc=document.getElementById("marques");
// jpeg
myjpg= document.createElementNS(SVG_NS, "image");
myjpg.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", "SpectreSolaireRedresse.jpg");
margex = 50; margey = 50;
image_height = 202; image_width = 2020;
myjpg.setAttribute("x", margex);
myjpg.setAttribute("y", margey);
myjpg.setAttribute("width", image_width);
myjpg.setAttribute("height", image_height);

<!-- ****** spectre solaire ******* -->
// Pointage des raies avec GIMP
px1=1566; lambda1=589.0; <!-- Doublet Na -->
px2=987; lambda2=518.3; <!-- Triplet Mg -->
// Parametres d'interpolation
alpha = (px1 - px2) / (lambda1 - lambda2);
beta = px1 - alpha * lambda1;

for (lambda = 300; lambda < 700; lambda += 2)
        x = Math.round(lambda * alpha + beta) + margex;
        if (x < margex)
        if (x > (image_width + margex))
        mygrad = document.createElementNS(SVG_NS, "line");
        mygrad.setAttribute("x1", x);
        mygrad.setAttribute("x2", x);
        mygrad.setAttribute("y1", margey + image_height);
        if ((lambda % 10) == 0)
                mygrad.setAttribute("y2", margey + image_height + 20);
        else    mygrad.setAttribute("y2", margey + image_height + 10);
        mygrad.setAttribute("style", "stroke:rgb(99,99,99);stroke-width:2");
        if (lambda % 10)
        mygradtxt = document.createElementNS(SVG_NS, "text");
        mygradtxt.setAttribute("x", x);
        mygradtxt.setAttribute("y", margey + image_height + 30);
        mygradtxt.setAttribute("stroke-width", "0.3");
        mygradtxt.setAttribute("style", "font-size:12px;");
        var mytext = document.createTextNode(lambda);



I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.

w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • share alike – If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

You may select the license of your choice.

Only registered users can post comments. Please login.

EXIF data:
File name spectresolairegradue_dvd.jpg
Size, Mbytes 0.0387431640625
Mime type image/jpeg

See some ads as well as other free photos:

The images at Free-Photos.biz come mainly from Wikimedia Commons or from our own production. The photos are either in the public domain, or licensed under free linceses: Free-Photos.biz license, GPL, Creative Commons or Free-Art license. Some very few other photos where uploaded to Free-Photos.biz by our users and released into the public domain or into free usage under another free license (like GPL etc.)

While the copyright and licensing information supplied for each photo is believed to be accurate, Free-Photos.biz does not provide any warranty regarding the copyright status or correctness of licensing terms. If you decide to reuse the images from Free-Photos.biz, you should verify the copyright status of each image just as you would when obtaining images from other sources.

The use of depictions of living or deceased persons may be restricted in some jurisdictions by laws regarding personality rights. Such images are exhibited at Free-Photos.biz as works of art that serve higher artistic interests.

christianity portal