Atm = ChangeAtm(Atm,[PName1,NewValue1, [P1],...,[PN]],... [PName2,NewValue2, [P1],...,[PN]],... [PName3,...])
Function to change parameters of an existing Atm structure. Any of the allowed atmospheric models from AtmStruct can be changed, in addition to geometry, number of screens, maximum altitude, turbulence multiplier alpha when a Cn2 model is present, and wavelength in extinction models. For a change in wavelength to work properly, a wavelength string must be the third input to the model function. Additionally, multipliers of other profiles can be specified with the input 'alpha[model]' for the parameter name. To change turbulence multiplier, specify either 'alphaCn2' or 'alpha.'
Parameters |
Description |
Atm [struct] |
Atmospheric modeling parameters structure from AtmStruct. |
PNames [string] |
Name of parameters to be altered. Can be GEOM, SCREENS, wavelength, MaxAlt, alpha with model name, or any of the allowed atmospheric models (see AtmStruct for details). |
NewValues [scalar] |
New values for the parameters or model function names for the atmospheric models |
P1...PN |
Function arguments required if the new parameter is a function. |
Return Values |
Description |
Atm [struct] |
Structure containing modified turbulence screen parameters. |
>> AtmNew = ChangeAtm(AtmStruct,'Screens',20)
Atm(1).Cn2Eval)
Copyright (c) 2009. All rights reserved.
|
What do you think about this topic? Send feedback!
|