transfer parameters with sddsmakedataset
Posted: 23 Sep 2011, 02:38
Dear Michael and collaborators,
I am using the following instruction in a script:
sddsmakedataset settings.sdds -parameter=EARTHFIELDc,type=double,units=T -data=0.00005 -parameter=DV1c,type=double -data=-0.015 -parameter=DV2c,type=double -data=0.015 -parameter=NKICKSc,type=double -data=0
so that I can input certain parameters without having to redefine them every time in the .ele files as follows:
&alter_elements
name = DR*
type = STRAY
item = LBY
string_value = EARTHFIELDc
&end
&alter_elements
name = ACCT*
type=rfcw
item=N_KICKS
string_value=NKICKSc
&end
and this works after downloading settings.sdds with &rpn_load.
The parameters DV1c and DV2c I use in:
&error_element
name=ACCT0_L00.02
item=VOLT
type="plus_or_minus"
amplitude=DV1c
fractional=1
&end
and this does not work (DV1c is not recognized), presumably because there in no instruction like "string_amplitude". Is there a way I can make "amplitude" read the parameter DV1c in settings.sdds ?
Thanks, Max
I am using the following instruction in a script:
sddsmakedataset settings.sdds -parameter=EARTHFIELDc,type=double,units=T -data=0.00005 -parameter=DV1c,type=double -data=-0.015 -parameter=DV2c,type=double -data=0.015 -parameter=NKICKSc,type=double -data=0
so that I can input certain parameters without having to redefine them every time in the .ele files as follows:
&alter_elements
name = DR*
type = STRAY
item = LBY
string_value = EARTHFIELDc
&end
&alter_elements
name = ACCT*
type=rfcw
item=N_KICKS
string_value=NKICKSc
&end
and this works after downloading settings.sdds with &rpn_load.
The parameters DV1c and DV2c I use in:
&error_element
name=ACCT0_L00.02
item=VOLT
type="plus_or_minus"
amplitude=DV1c
fractional=1
&end
and this does not work (DV1c is not recognized), presumably because there in no instruction like "string_amplitude". Is there a way I can make "amplitude" read the parameter DV1c in settings.sdds ?
Thanks, Max