-
Notifications
You must be signed in to change notification settings - Fork 17
new example: Asian option pricing using 2D PDE (Pawel Magnuszewski's MSc project draft, to be submitted to arXiv soon) #543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
… colorbar, common color ranges, every second tick
@slayoo can we merge? |
@pawelmagnu, at minimum, I suggest we address the following here before merging:
last but not least, let's make the code below (notebook) a two-liner! history = [simulation.solver.advectee.get().copy()]
for i in range(nt//2):
simulation.step()
history.append(simulation.solver.advectee.get().copy())
for i in range(nt//2):
simulation.step()
history.append(simulation.solver.advectee.get().copy()) |
examples/PyMPDATA_examples/Magnuszewski_et_al_2025/monte_carlo.py
Outdated
Show resolved
Hide resolved
It already is a lower-resolution version
we do not aim for match with MC as this notebook is only a PoC, further tests will be in future notebooks and PRs |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #543 +/- ##
=======================================
Coverage 91.85% 91.85%
=======================================
Files 30 30
Lines 1485 1485
=======================================
Hits 1364 1364
Misses 121 121 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…n with UPWIND; removing duplicate simulation run; code cleanups
…d; fine tune colors, sizes, line styles
…wo drafts to be filled-in with code)
…operly handle extrapolation - remove obsolete narrative text in code comments - fix imshow extents axes origin at (-dx/2, -dy/2) - contour isoline levels fixed to show zero isoline for terminal condition - fix Fig2 x2ticks (and move then dx/2 from the grid lines) - code cleanups - add (a), (b), (c), (d) labels for plots, remove all but top and bottom tick labels, but keep ticks everywhere
No description provided.