This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using TransferFunctions | |
| # Following transfer functions exhibit slanted line | |
| plot(PhysicalTransferFunctionEddington(mass = 2.8e9, eddingtonfraction = 10.0, wavelength = 5000.0)) | |
| plot(PhysicalTransferFunctionEddington(mass = 7.2e9, eddingtonfraction = 10.0, wavelength = 5000.0)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using TransferFunctions, MiscUtil, PyPlot | |
| lambda = 5700; | |
| masses = collect(logrange(1e5, 1e10, 1000)); | |
| # given mass value, return the width of the instantiated transfer function | |
| function f(mass) | |
| width(PhysicalTransferFunctionEddington(mass = mass, eddingtonfraction = 10.0, wavelength = lambda)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using TransferFunctions, Printf, PyPlot | |
| # define a range of masses around where the jump occurs | |
| masses = [2.89; 2.90; 2.91; 2.92; 2.93; 2.94; 2.95] * 1e9 | |
| wavelength, accretion = 5000.0, 1.0 | |
| for m in masses | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### A Pluto.jl notebook ### | |
| # v0.19.38 | |
| using Markdown | |
| using InteractiveUtils | |
| # ╔═╡ ee4a26c0-c5f2-11ee-0a49-d127ee59691c | |
| using Plots, Optim | |
| # ╔═╡ 22d957be-1883-47a3-b1e2-94d152bd46b2 |