ATLAS Offline Software
Classes
|
Functions
PlotUtils Namespace Reference
Classes
class
DiagnosticHisto
class
PlotUtils
Functions
def
RemoveSpecialChars
(In)
Function Documentation
◆
RemoveSpecialChars()
def PlotUtils.RemoveSpecialChars
(
In
)
Definition at line
7
of file
PlotUtils.py
.
7
def
RemoveSpecialChars
(In):
8
Out = In
9
NotWantedChars = [
"{"
,
"}"
,
"["
,
"]"
,
"#"
,
"^"
,
")"
,
"("
,
"'"
,
" "
,
"-"
]
10
ReplaceChars = [
"."
,
","
]
11
for
C
in
NotWantedChars:
12
Out = Out.replace(C,
""
)
13
for
C
in
ReplaceChars:
14
Out = Out.replace(C,
"_"
)
15
return
Out
16
17
PlotUtils.RemoveSpecialChars
def RemoveSpecialChars(In)
Definition:
PlotUtils.py:7
Generated on Sun Dec 22 2024 22:06:01 for ATLAS Offline Software by
1.8.18