new empty dictionary
|
__init__(self,
input_path=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
read(self,
input_path)
read a card and full this object with the content of the card |
source code
|
|
|
|
|
|
|
analyze_param_card(self)
Analyzes the comment of the parameter in the param_card and returns a
dictionary with parameter names in values and the tuple (lhablock,
id) in value as well as a dictionary for restricted values. |
source code
|
|
|
|
|
write(self,
outpath=None,
precision='
' )
schedular for writing a card |
source code
|
|
|
create_diff(self,
new_card)
return a text file allowing to pass from this card to the new one via
the set command |
source code
|
|
|
get_value(self,
blockname,
lhecode,
default=None) |
source code
|
|
|
|
|
|
|
write_inc_file(self,
outpath,
identpath,
default,
need_mp=False)
write a fortran file which hardcode the param value |
source code
|
|
|
convert_to_complex_mass_scheme(self)
Convert this param_card to the convention used for the complex mass
scheme: This includes, removing the Yukawa block if present and
making sure the EW input scheme is (MZ, MW, aewm1). |
source code
|
|
|
|
|
|
|
|
|
rename_blocks(self,
name_dict)
rename the blocks |
source code
|
|
|
|
|
remove_param(self,
block,
lhacode)
remove a parameter |
source code
|
|
|
has_param(self,
block,
lhacode)
check if param exists |
source code
|
|
|
copy_param(self,
old_block,
old_lha,
block=None,
lhacode=None)
make a parameter, a symbolic link on another one |
source code
|
|
|
add_param(self,
block,
lha,
value,
comment='
' ) |
source code
|
|
|
do_help(self,
block,
lhacode,
default=None) |
source code
|
|
|
mod_param(self,
old_block,
old_lha,
block=None,
lhacode=None,
value=None,
comment=None)
change a parameter to a new one. |
source code
|
|
|
check_and_remove(self,
block,
lhacode,
value)
check that the value is coherent and remove it |
source code
|
|
Inherited from dict :
__cmp__ ,
__contains__ ,
__delitem__ ,
__eq__ ,
__ge__ ,
__getattribute__ ,
__gt__ ,
__iter__ ,
__le__ ,
__len__ ,
__lt__ ,
__ne__ ,
__new__ ,
__repr__ ,
__sizeof__ ,
clear ,
copy ,
fromkeys ,
get ,
has_key ,
items ,
iteritems ,
iterkeys ,
itervalues ,
keys ,
pop ,
popitem ,
setdefault ,
update ,
values ,
viewitems ,
viewkeys ,
viewvalues
Inherited from object :
__delattr__ ,
__format__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__ ,
__subclasshook__
|