Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Uddeepta Deka
/
Updated Charged Lens
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cb93d558
authored
Oct 25, 2024
by
Uddeepta Deka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor bug fix
parent
3c7d710a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
.gitignore
scripts/lensed_waveform_exec.py
.gitignore
View file @
cb93d558
...
@@ -3,3 +3,4 @@ __pycache__/
...
@@ -3,3 +3,4 @@ __pycache__/
.ipynb_checkpoints/
.ipynb_checkpoints/
notebooks/test.ipynb
notebooks/test.ipynb
data/
data/
scripts/params.txt
scripts/lensed_waveform_exec.py
View file @
cb93d558
...
@@ -259,7 +259,7 @@ def make_plots(wf_obj, outdir=None):
...
@@ -259,7 +259,7 @@ def make_plots(wf_obj, outdir=None):
plt
.
ylabel
(
r'$\widetilde{F}(t)$'
)
plt
.
ylabel
(
r'$\widetilde{F}(t)$'
)
plt
.
xscale
(
'log'
)
plt
.
xscale
(
'log'
)
plt
.
legend
()
plt
.
legend
()
plt
.
xlim
(
left
=
1e-
3
,
right
=
wf_obj
.
t_max
)
plt
.
xlim
(
left
=
1e-
2
,
right
=
wf_obj
.
t_max
)
plt
.
savefig
(
outdir
+
"Ft_plot.pdf"
,
format
=
'pdf'
,
bbox_inches
=
'tight'
)
plt
.
savefig
(
outdir
+
"Ft_plot.pdf"
,
format
=
'pdf'
,
bbox_inches
=
'tight'
)
plt
.
close
()
plt
.
close
()
...
@@ -334,7 +334,7 @@ def main():
...
@@ -334,7 +334,7 @@ def main():
tStart
=
time
.
perf_counter
()
tStart
=
time
.
perf_counter
()
mw
=
MicrolensedWaveform
(
**
kwargs
)
mw
=
MicrolensedWaveform
(
**
kwargs
)
runtag
=
'y_
%.3
f_q_
%.
3
f
_Ml_
%.1
f_zl_
%.1
f_dect_
%
s_fhi_
%.1
f_zs_
%.1
f_m1_
%.1
f_m2_
%.1
f_approx_
%
s_deltaf_
%.5
f_tmax_
%.1
f_dtfac_
%.1
f'
%
(
runtag
=
'y_
%.3
f_q_
%.
1
e
_Ml_
%.1
f_zl_
%.1
f_dect_
%
s_fhi_
%.1
f_zs_
%.1
f_m1_
%.1
f_m2_
%.1
f_approx_
%
s_deltaf_
%.5
f_tmax_
%.1
f_dtfac_
%.1
f'
%
(
mw
.
lens
.
y1
,
mw
.
lens
.
qeff
,
mw
.
Ml
,
mw
.
zl
,
mw
.
dect
,
mw
.
f_hi
,
mw
.
zs
,
mw
.
m1
,
mw
.
m2
,
mw
.
approx
,
mw
.
delta_f
,
mw
.
t_max
,
mw
.
dt_fac
)
mw
.
lens
.
y1
,
mw
.
lens
.
qeff
,
mw
.
Ml
,
mw
.
zl
,
mw
.
dect
,
mw
.
f_hi
,
mw
.
zs
,
mw
.
m1
,
mw
.
m2
,
mw
.
approx
,
mw
.
delta_f
,
mw
.
t_max
,
mw
.
dt_fac
)
outdir
=
folder_path
+
runtag
+
"/"
outdir
=
folder_path
+
runtag
+
"/"
isExist
=
os
.
path
.
exists
(
outdir
)
isExist
=
os
.
path
.
exists
(
outdir
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment