en:playground:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:playground:start [2020/05/07 06:49] – 76.236.30.17 | en:playground:start [2025/11/04 08:40] (current) – 141.19.8.160 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== Optimize! ==== | + | Ceci est un test ! |
| - | {{Optimize_73x76.png}} | + | <code python test.py> |
| + | import os | ||
| + | os.getcwd() | ||
| + | print(" | ||
| + | </ | ||
| - | {{: | + | ====== Hello ! ====== |
| - | The “Optimize!” button is available in the Automatic Optimization section of the%% %%Optimize%% %%tab. This button displays the Local Optimization tool for automatic optimization of the current optical system. | + | | Hi | | |
| + | | | ||
| - | {{Optimize_2_611x232.png}} | + | Das war ein befehl! Der angriff Steiner war ein befehl! |
| - | **// | + | <code xojonnn fff 123> |
| + | Here we go again | ||
| + | </code> | ||
| - | **Algorithm**%% %%Local Optimization uses a Damped Least-Squares or Orthogonal Descent algorithm to improve or modify a design to meet specific conditions. | + | | dfgdfg |
| + | | abcvv | gdfgdf | ||
| - | **Damped Least Squares (DLS)**%% %%uses numerically computed derivatives to determine a direction in solution space which produces a design with a lower merit function. This gradient method has been developed specifically for optical system design and is recommended for all optimization problems. | + | Das ist ein Test. **Schauen wir mal wie fett geht. ** |
| - | **Orthogonal Descent (OD)**%% %%uses an orthonormalization of the variables and discrete sampling of solution space to reduce the merit function. The OD algorithm does not compute numerical derivatives of the merit function. For systems with inherently noisy merit functions, such as non-sequential systems, OD will usually outperform DLS. For a discussion of a similar algorithm, see S. Kudaev, P. Schreiber, “Automated optimization of non-imaging optics for luminaries”, | + | Sieht aus wie der alte Editor → Ah, man muss erst auf " |
| - | **Note**%% %%that both DLS and OD are local optimization algorithms whose final results depend upon the starting point. For global optimization, see “Global Optimizers”. | + | Ok, wie bekomme ich eine Grafik eingebunden? |
| - | **# of Cores**%% %%Selects the number of cores over which to spread the optimization task. More than 1 may be selected, even on a single CPU computer, in which case the single CPU will time share the multiple simultaneous tasks. The default is the number of processors detected by the operating system. | + | ===== heading 2 ===== |
| - | **Cycles**%% %%Select the number of optimization cycles. 1 Cycle Executes a single optimization cycle, 5 Cycles Executes 5 optimization cycles, etc. Inf. Cycles Executes optimization cycles in an infinite, continuous loop until “Stop” is pressed. | + | [[Ficiher@iap.fr|Ficiher]] |
| - | **Selecting Automatic%% %%**will cause the optimizer to run until no progress is being made. Automatic mode is highly recommended. The time required to run a given optimization cycle varies enormously with the number of variables, the complexity of the system, the number of solves, the number of operands, and of course the computer speed. If the cycle is taking too long, or if it appears to be hung up, or if you feel the design is not progressing adequately, click on Stop to end the optimization run. | + | [[link|Edit section]] |
| - | **Auto Update**%% %%If checked, OpticStudio will automatically update and redraw all open windows at the end of each optimization cycle. This allows monitoring of the optimization progress using any analysis feature. Note that the fastest rate at which the windows can update is once every 5 seconds, in order to maintain responsivity of the user interface during the updates. | + | | {{https:// |
| + | | | ||
| - | **Start%% %%**Starts the optimization. | + | | |
| + | | | ||
| - | **Stop**%% %%Stops a running optimization, | + | | |
| + | | | ||
| - | **Save**%% %%Saves the current settings to the OpticStudio configuration file. | + | # Heading |
| - | **Load**%% %%Loads the last saved settings. | + | **Testing this editor** |
| - | **Reset**%% %%Resets all settings to default. | + | <code python file.py> |
| + | Here is my code | ||
| - | **// | + | Testing Test class py |
| + | </code> | ||
| - | The Local Optimization (or simply, “Optimization”) feature provided by OpticStudio is quite powerful, and is capable of improving lens designs given a reasonable starting point and a set of variable parameters. Variables can be curvatures, | + | | |
| + | | Test Table | Test | Test | | | ||
| + | | 1.2.3.8-) | | ||
| + | | | ||
| - | When the optimization begins, OpticStudio first updates the system merit function. If any of the operands cannot be computed, the optimization cannot begin, and an error message will be displayed. Operands cannot be computed if they require the tracing of rays which miss surfaces or which undergo%% total internal reflection (TIR) %%at an index boundary. If such an error message appears, usually the starting lens prescription is in error, or the ray targets are incorrectly defined (this will not happen with the default merit functions, but might happen with user defined rays). OpticStudio can automatically recover if the merit function cannot be evaluated during the course of optimization; | + | ==== heading 3 ==== |
| - | See%% Optimization Overview %%for a full discussion of building merit functions, setting variables, and using the optimization feature. | + | Tetsinf |
| - | See also | + | ===== Deleted content, now visual editor appears to function ===== |
| - | **Next:** | + | **One **two three four |
| - | Remove All Variables\\ | + | * Ctrl-I / Ctrl-B would be nice |
| - | Great editor !! | + | Table support is handy |
| - | I wish we could paste images that can be saved automatically. | + | | qds | qsdq | sdqs | |
| + | | | ||
| + | | | ||
| - | I wish we could use basic HTML tags, such as H1, H2, etc for font sizes. | + | Testing ... |
| - | I wish I could but I don't want to. | + | ==== Headline ==== |
| - | huh! | + | |
| - | 8-O | + | //Locales// worden gebruikt door glibc en andere locale-aware programma' |
| - | - This is fine. | + | Het behelst een systeem met zo'n drie onderdelen: |
| - | | + | |
| - | | + | * //Local Names:// Specificaties van talen/ |
| - | this is a test. | + | * //System variables:// |
| + | | ||
| + | |||
| + | ==== Locale Names ==== | ||
| + | |||
| + | //Locales// of //local names// zijn in de vorm [1] | ||
| + | |||
| + | <code -> | ||
| + | language[_territory].[codeset][@modifier] | ||
| </ | </ | ||
| - | ====== Nothing to see here. ====== | + | waarbij geldt: |
| - | | First column | + | |
| - | | | + | |
| - | | Last row | {{https://thumbs.dreamstime.com/z/livre-de-coloriage-pangolin-87544118.jpg? | + | * '' |
| + | * '' | ||
| - | ><code -> | + | Alle beschikbare locales kun je opvragen mbv. '' |
| - | 8-o | + | |
| + | <code -> | ||
| + | nl_AW UTF-8 | ||
| + | nl_BE ISO-8859-1 | ||
| + | nl_BE.UTF-8 UTF-8 | ||
| + | nl_BE@euro ISO-8859-15 | ||
| + | nl_NL ISO-8859-1 | ||
| + | nl_NL.UTF-8 UTF-8 | ||
| + | nl_NL@euro ISO-8859-15 | ||
| </ | </ | ||
| - | >\\ \\ \\ \\ \\ \\ \\ \\ 8-o | ||
| - | >>(( | ||
| - | )) | + | Merk op dat er niet zoiets bestaat als //en_NL// (Engelstalig + Nederland). Ik heb me er bij neergelegd dat ik qua taal //en_US UTF-8// gebruik. |
| - | > | + | |
| - | > | + | Dit zijn de instellen op één van m'n computers. Dit was voordat ik de //locale// had geconfigureerd. Dit overzicht krijg je met het commando '' |
| - | > | + | |
| - | >\\ | + | <code -> |
| - | > | + | LANG=C |
| - | >(( | + | LANGUAGE= |
| + | LC_CTYPE=" | ||
| + | LC_NUMERIC=en_US.UTF-8 | ||
| + | LC_TIME=en_US.UTF-8 | ||
| + | LC_COLLATE=" | ||
| + | LC_MONETARY=en_US.UTF-8 | ||
| + | LC_MESSAGES=" | ||
| + | LC_PAPER=en_US.UTF-8 | ||
| + | LC_NAME=en_US.UTF-8 | ||
| + | LC_ADDRESS=en_US.UTF-8 | ||
| + | LC_TELEPHONE=en_US.UTF-8 | ||
| + | LC_MEASUREMENT=en_US.UTF-8 | ||
| + | LC_IDENTIFICATION=en_US.UTF-8 | ||
| + | LC_ALL= | ||
| + | </code> | ||
| - | )) | + | 1.. 2.. 3.. Lorem Ipsum** lorem ipsum** |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >(( | + | |
| - | )) | + | ~~NOTOC~~ |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >\\ | + | |
| - | >(( | + | |
| - | )) | ||
en/playground/start.1588826993.txt.gz · Last modified: 2020/05/07 06:49 by 76.236.30.17
