CalculatorForSampleMountingInDil

Search SINQ Wiki:
SINQ LIN

SINQ Wiki
- Main Page
- Search SINQ Wiki
- Sample Environment
- Probenumg. Intern
- Troubleshooting SICS

This Page
- Page Info
- Printer Friendly

Referenced by
...nobody

Wiki Info
- Unused pages
- Undefined pages
- RecentChanges
- Page Index
- System Info
- JSPWiki Docu
- SandBox
- OneMinuteWiki
- Create a New Page




JSPWiki v2.0.52


This is version 56. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


<html> <script> // Due to security resrictions in the browser, the scripts will not // work immediately after changing the page // var cans = { "DIL3/DIL4": { MA02: {top: 366, bot: 354, base: 7, win: 38, winbase: 53, candia: 21, spacer: 22.6, dia: 21}, MA6: {top: 366, bot: 311, base: 8, win: 39, winbase: 52, candia: 23.4, spacer: 23.1, dia: 21}, MA7: {top: 366, bot: 361, base: 8, win: 39, winbase: 46, candia: 35.8, spacer: 35.6, dia: 32}, MA10: {top: 605, bot: 0, base: 6, win: 0, winbase: 6, candia: "44?", spacer: 43.5, dia: 40}, MA11: {top: 366, bot: 280, base: 8, win: 39, winbase: 23, candia: 17.1, spacer: 17, dia: 14}, MA15: {top: 366, bot: 280, base: 8, win: 39, winbase: 23, candia: 17.1, spacer: 17, dia: 14}, VARIOX: {top: 473, bot: 0, base: 8, win: 0, winbase: 8, candia: "44?", spacer: 43.5, dia: 40}, }, "DIL2": { MA02: {top: 345, bot: 354, base: 7, win: 38, winbase: 53, candia: 21, spacer: 22.6, dia: 21}, MA6: {top: 342, bot: 311, base: 7, win: 39, winbase: 52, candia: 23.4, spacer: 23.1, dia: 21}, MA7: {top: 342, bot: 361, base: 8, win: 39, winbase: 46, candia: 35.8, spacer: 35.6, dia: 32}, MA10: {top: 605, bot: 0, base: 6, win: 0, winbase: 6, candia: "44?", spacer: 43.5, dia: 40}, MA11: {top: 345, bot: 277, base: 8, win: 39, winbase: 22, candia: 17.1, spacer: 17, dia: 14}, MA15: {top: 345, bot: 277, base: 8, win: 39, winbase: 22, candia: 17.1, spacer: 17, dia: 14}, VARIOX: {top: 473, bot: 0, base: 8, win: 0, winbase: 8, candia: "44?", spacer: 43.5, dia: 40}, }, } var dils = { "DIL3/DIL4": {sealmix: 311}, "DIL2": {sealmix: 290}, } var vtis = { MA02: {motor: 160, sample: 1245, edge: 968, vtibot: 1338}, MA6: {motor: 160, sample: 1309, edge: 1078, vtibot: 1389}, MA7: {motor: 160, sample: 1357, edge: 0, vtibot: 1426}, MA10: {motor: 160, sample: 1107, edge: 0, vtibot: 1222}, MA11: {motor: 160, sample: 1302, edge: 1080, vtibot: 1356}, MA15: {motor: 160, sample: 1294, edge: 1078, vtibot: 1433}, VARIOX: {motor: 0, sample: 1068, edge: 0, vtibot: 1138}, } </script> <style> table.graph td { border-spacing: 0px; } input { text-align: right; } .important { border-style:solid; border-color:#ff0; background-color:#fff; } .rel { position: relative; } .candia { position: absolute; top:550px; left:120px;} .extmax { position: absolute; top:600px; left:170px;}

</style> <script> var magselect = ""; var dilselect = "DIL3/DIL4";

function getinp(name) { value = parseInt(document.getElementById(name).value); return value; }

function putout(name, value) { console.log(name); document.getElementById(name).innerHTML = value; }

function calc() { var top = getinp("top"); var bot = getinp("bot"); var base = getinp("base"); var win = getinp("win"); var winbase = getinp("winbase"); var sealmix = getinp("sealmix"); var gapmin = getinp("gapmin"); var gapmax = getinp("gapmax"); var motor = getinp("motor"); var edge = getinp("edge"); if (edge) { edge += motor; } var vtibot = getinp("vtibot") + motor; var sample = getinp("sample") + motor;

var bottom = top + bot - sealmix; var winmin = bottom + gapmax - winbase - win; var winmax = bottom + gapmin - winbase; var center = (winmin + winmax) / 2; if (edge) { var minsam = top + Math.max(-edge, bot - vtibot) + sample - sealmix + gapmax; } else { var minsam = bottom + sample - vtibot + gapmax; document.getElementById("edge").value = ""; } var extmax = bottom - base + gapmin; if (win > 0) { putout("winmin", winmin); putout("center", center); putout("winmax", winmax); } else { putout("winmin", "n/a"); putout("center", "n/a"); putout("winmax", "n/a"); } putout("minsam", minsam); putout("extmax", extmax); putout("sample_plus", sample); if (edge) { putout("edge_plus", edge); } else { putout("edge_plus", "n/a"); } putout("vtibot_plus", vtibot);

var motor = getinp("motor"); if (motor > 0) { document.getElementById("title").innerHTML = dilselect + " in " + magselect + " with sample rotator"; } else { document.getElementById("title").innerHTML = dilselect + " in " + magselect + " without sample rotator"; } console.log("calc"); }

function setmag(name) { console.log(name); magselect = name; var can = cansdilselect?name?; if (can) { for (var property in can) { console.log(property); document.getElementById(property).value = canproperty?; document.getElementById(property).innerHTML = canproperty?; } } var vti = vtisname?; for (var property in vti) { console.log(property); document.getElementById(property).value = vtiproperty?; } calc(); return; }

function setdil(name) { dilselect = name; var dil = dilsdilselect?; console.log(dil); if (dil) { for (var property in dil) { console.log(property); document.getElementById(property).value = dilproperty?; } } if (magselect != "") { calc(); } } setTimeout(function() {setdil("DIL3/DIL4");}, 0); </script> <h1 id=title></h1> <form> <input type="radio" name=d onClick="setdil('DIL3/DIL4');" checked=true>DIL3/DIL4<br> <input type="radio" name=d onClick="setdil('DIL2');">DIL2<br><br> <input type="radio" name=m onClick="setmag('MA02');">MA02<br> <input type="radio" name=m onClick="setmag('MA6');">MA6<br> <input type="radio" name=m onClick="setmag('MA7');">MA7<br> <input type="radio" name=m onClick="setmag('MA10');">MA10<br> <input type="radio" name=m onClick="setmag('MA11');">MA11<br> <input type="radio" name=m onClick="setmag('MA15');">MA15<br> <input type="radio" name=m onClick="setmag('VARIOX');">VARIOX<br> sample rotator<br>length: </form> <input type="text" id=motor value=0 size=4 onchange='calc();'> <br>

<svg width="1024" height="340" xmlns="http://www.w3.org/2000/svg"> <metadata id="metadata5">image/svg+xml</metadata>

<g> <title>background</title> <rect x="-1" y="-1" width="1026" height="342" id="canvas_background" fill="none"/> </g> <g> <title>Layer 1</title> <path fill="#cccccc" stroke="#000" stroke-opacity="null" d="m242,140l18,0l0,-14l39,0l0,26l36,0l0,-20l27,0l0,30l30,0l0,-20l80,0l0,20l20,0l0,20l-20,0l0,20l-80,0l0,-20l-30,0l0,30l-27,0l0,-20l-36,0l0,26l-39,0l0,-14l-18,0" id="still_exch1"/> <path id="top_seal" d="m23,100l180,0l0,2l40,3l0,130l-40,3l0,2l-180,0" stroke="#000" fill="#cccccc"/> <path id="can" d="m212,102l38,3l400,0l0,22l318,0l0,86l-318,0l0,22l-400,0l-38,2l0,3l445,0l0,-21l182,0l4,-4l99,0l4,4l32,0l0,-98l-32,0l-4,4l-99,0l-4,-4l-182,0l0,-21l-445,0l0,2" stroke-opacity="null" stroke="#000" fill="#cccccc"/> <path fill="#cccccc" stroke="#000" stroke-opacity="null" d="m492,120l55,0l0,100l-55,0l0,-100" id="mix"/> <path fill="#cccccc" stroke="#000" stroke-opacity="null" d="m547,160l340,0l0,20l-340,0" id="samplerod"/> <ellipse ry="20" rx="20" id="sampleball" cy="170" cx="878" fill-opacity="null" stroke-opacity="null" stroke="#000000" fill="#ccc"/> <text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="12" id="sample_text" y="173" x="859" stroke-width="0" stroke="#000" fill="#000000">sample</text> <g id="win_gr"> <path id="win_line" d="m844,134l0,-6l0,12l0,-6l98,0l0,-6l0,13l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#00f" fill="#000"/> <rect id="win_bg" height="20" width="30" y="124" x="893" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#00f" stroke="#00f" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="908" y="139" id="win" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">00</text> </g> <text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="12" id="svg_2" y="142.5" x="508.5" stroke-width="0" stroke="#000" fill="#000000">mix.</text> <text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="12" id="svg_3" y="159.5" x="498.5" stroke-width="0" stroke="#000" fill="#000000">chamber</text> <g id="cantop_gr"> <path id="cantop_line" d="m212,261l0,-6l0,12l0,-6l444,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#00f" fill="#000"/> <rect id="cantop_bg" height="20" width="40" y="251" x="394" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#00f" stroke="#00f" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="414" y="266" id="cantop" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">000</text> </g> <g id="canbot_gr"> <path id="canbot_line" d="m656,246l0,-6l0,12l0,-6l322,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#00f" fill="#000"/> <rect id="canbot_bg" height="20" width="40" y="236" x="801" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#00f" stroke="#00f" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="821" y="251" id="canbot" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">000</text> </g> <g id="sealmix_gr"> <path id="sealmix_line" d="m203,214l0,-6l0,12l0,-6l344,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#00f" fill="#000"/> <rect id="sealmix_bg" height="20" width="40" y="204" x="393" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#00f" stroke="#00f" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="413" y="219" id="sealmix" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">000</text> </g> <g id="winbase_gr"> <path id="winbase_line" d="m942,149l0,-6l0,12l0,-6l36,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#00f" fill="#000"/> <text fill="#00f" stroke="#00f" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="960" y="168" id="winbase" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">00</text> </g> <g id="base_gr"> <path id="base_line" d="m968,180l0,-6l0,12l0,-6l10,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#00f" fill="#000"/> <text fill="#00f" stroke="#00f" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="974" y="201" id="base" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">0</text> </g> <rect id="svg_15" height="42" width="53" y="290.5" x="194.5" stroke-width="null" fill="#ffffff" stroke="#ffffff"/> <path fill="none" stroke="#000000" d="m2,90l6,0l6,-12l8,0l0,180l-8,0l-6,-12l-6,0" id="flange"/> <line fill="none" stroke-width="0.5" x1="22" y1="27" x2="22" y2="331" id="flange_line" stroke-linejoin="null" stroke-linecap="null" stroke="#000000"/> <text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="12" id="svg_1" y="128.5" x="214.5" stroke-width="0" stroke="#000" fill="#000000">seal</text> <line stroke="#000000" fill="none" stroke-width="0.5" x1="203" y1="101" x2="203" y2="240" id="svg_4" stroke-linejoin="null" stroke-linecap="null"/> <line fill="none" stroke-width="0.5" x1="212" y1="101" x2="212" y2="266.99999" id="svg_4" stroke-linejoin="null" stroke-linecap="null" stroke="#000000"/> <g id="gap_gr"> <rect id="svg_13" height="17" width="25" y="135.5" x="194.5" stroke-width="null" fill="#ccc" stroke="#ccc"/> <rect id="svg_14" height="17" width="25" y="177.5" x="194.5" stroke-width="null" fill="#ccc" stroke="#ccc"/> <path id="gap_line" d="m203,166l0,-6l0,12l0,-6l9,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#00f" fill="#00f"/> <text fill="#00f" stroke="#00f" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="207" y="151" id="gapmax" font-size="18" text-anchor="middle" font-family="Helvetica, Arial, sans-serif"><0</text> <text fill="#00f" stroke="#00f" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="207" y="191" id="gapmin" font-size="18" text-anchor="middle" font-family="Helvetica, Arial, sans-serif">>0</text> </g> <line fill="none" stroke-width="0.5" x1="844" y1="0" x2="844" y2="143" id="winmin_meas" stroke-linejoin="null" stroke-linecap="null" stroke="#000000"/> <line stroke="#000000" fill="none" stroke-width="0.5" x1="547" y1="10" x2="547" y2="124" id="mix_meas" stroke-linejoin="null" stroke-linecap="null"/> <line fill="none" stroke-width="0.5" x1="878" y1="57" x2="878" y2="285" id="sample_meas" stroke-linejoin="null" stroke-linecap="null" stroke="#000000"/> <line fill="none" stroke-width="0.5" x1="942" y1="24" x2="942" y2="157" id="winmax_meas" stroke-linejoin="null" stroke-linecap="null" stroke="#000000"/> <line fill="none" stroke-width="0.5" x1="978" y1="218" x2="978" y2="299" id="ext_meas" stroke-linejoin="null" stroke-linecap="null" stroke="#000000"/> <line fill="none" stroke-width="0.5" x1="656" y1="250" x2="656" y2="330" id="edge_meas" stroke-linejoin="null" stroke-linecap="null" stroke="#000000"/> <line fill="none" stroke-width="0.5" x1="968" y1="68" x2="968" y2="130" id="base_meas" stroke-linejoin="null" stroke-linecap="null" stroke="#000000"/> <path fill="none" stroke="#ffffff" stroke-width="20" fill-opacity="null" d="m146.5,82.5l-26.5,59.5l29,52l-26,60" id="svg_5"/> <path fill="none" stroke="#ffffff" stroke-width="20" fill-opacity="null" d="m159.5,82.5l-26.5,59.5l29,52l-26,60" id="svg_6"/> <path fill="none" stroke="#000000" fill-opacity="null" d="m146.5,82.5l-26.5,59.5l29,52l-26,60" id="svg_16"/> <path fill="none" stroke="#000000" fill-opacity="null" d="m159.5,82.5l-26.5,59.5l29,52l-26,60" id="svg_17"/> <text fill="#cc0000" stroke="#00f" stroke-width="0" stroke-opacity="null" x="299.5" y="62.5" id="svg_7" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="start">make sure stick will fit into vti</text> <text fill="#00cccc" stroke="#00f" stroke-width="0" stroke-opacity="null" x="217.5" y="29.5" id="svg_8" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="start">make sure sample is within can window</text> <text fill="#cc00cc" stroke="#00f" stroke-width="0" stroke-opacity="null" x="165.5" y="88.5" id="svg_9" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="start">make sure sample does not touch can bottom</text> <text fill="#00cc00" stroke="#00f" stroke-width="0" stroke-opacity="null" x="165.5" y="316.5" id="svg_12" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="start">verify stick will fit into vti (with closed can)</text> <g id="winmin_gr"> <path id="winmin_line" d="m547,13l0,-6l0,12l0,-6l297,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#0cc" fill="#000"/> <rect id="winmin_bg" height="25" width="50" y="0" x="650" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#0cc" stroke="#0cc" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="675" y="20" id="winmin" font-size="24" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">000</text> </g> <g id="sammin_gr"> <path id="sammin_line" d="m547,61l0,-6l0,12l0,-6l331,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#c00" fill="#fff"/> <rect id="sammin_bg" height="25" width="60" y="48" x="695" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#c00" stroke="#c00" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="725" y="68" id="sammin" font-size="24" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">>000</text> </g> <g id="winmax_gr"> <path id="winmax_line" d="m547,33l0,-6l0,12l0,-6l395,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#0cc" fill="#fff"/> <rect id="winmax_bg" height="25" width="50" y="20" x="740" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#0cc" stroke="#0cc" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="765" y="40" id="winmax" font-size="24" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">000</text> </g> <g id="extmax_gr"> <path id="extmax_line" d="m547,88l0,-6l0,12l0,-6l421,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#c0c" fill="#fff"/> <rect id="extmax_bg" height="25" width="50" y="75" x="785" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#c0c" stroke="#c0c" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="810" y="95" id="extmax" font-size="24" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">000</text> </g> <g id="sample_gr"> <path id="sample_line" d="m23,279l0,-6l0,12l0,-6l855,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#c00" fill="#fff"/> <rect id="sample_bg" height="25" width="60" y="266" x="771" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#c00" stroke="#c00" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="801" y="286" id="sample" font-size="24" font-family="Helvetica, Arial, sans-serif" text-anchor="middle">000</text> </g> <g id="edge_gr"> <path id="edge_line" d="m23,321l0,-6l0,12l0,-6l633,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#0c0" fill="#fff"/> <rect id="edge_bg" height="25" width="60" y="310" x="571" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#0c0" stroke="#0c0" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="601" y="330" id="edge" font-size="24" font-family="Helvetica, Arial, sans-serif" text-anchor="middle"><000</text> </g> <rect stroke="#ffffff" id="svg_11" height="27" width="335.00002" y="268.5" x="224.5" stroke-width="null" fill="#ffffff">adjust top flange - center sample in cryo</rect> <text fill="#cc0000" stroke="#00f" stroke-width="0" stroke-opacity="null" x="229.5" y="285.5" id="svg_10" font-size="18" font-family="Helvetica, Arial, sans-serif" text-anchor="start">adjust top flange - center sample in cryo</text> <g id="vtibot_gr"> <path id="vtibot_line" d="m23,298l0,-6l0,12l0,-6l955,0l0,-6l0,12l0,-6" fill-opacity="null" stroke-opacity="null" stroke-width="2" stroke="#0c0" fill="#fff"/> <rect id="vtibot_bg" height="25" width="60" y="285" x="891" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#fff"/> <text fill="#0c0" stroke="#0c0" stroke-width="0" stroke-opacity="null" fill-opacity="null" x="921" y="305" id="vtibot" font-size="24" font-family="Helvetica, Arial, sans-serif" text-anchor="middle"><000</text> </g> </g> </svg> </html>


This particular version was published on 18-Sep-2018 08:16:35 UTC by MarkusZolliker.