Skip to content

Commit a36f2f0

Browse files
authored
Merge pull request #62 from Ste1nb0cK/stepbystep
Stepbystep
2 parents 95937a9 + 3d51ad5 commit a36f2f0

26 files changed

+4581
-357
lines changed

Project.toml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ authors = ["Nicolás A. Niño"]
44
version = "0.1.0"
55

66
[deps]
7+
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
78
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
89
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
910
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

docs/src/getting_started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ The data about a click is modeled by the struct `DetectionClick` [(more info)](@
110110
To obtain a sample of trajectories one uses `run_trajectories`, this returns a vector of trajectories as the sample :
111111

112112
```@example workflow1
113-
data = run_trajectories(sys, params)
113+
data = run_trajectories_gillipsie(sys, params)
114114
for k in 1:3
115115
println(data[k])
116116
end

docs/src/jump_unraveling.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Running trajectories
44
```@docs
5-
run_trajectories(sys::System, params::SimulParameters; progbar::Bool = true,
5+
run_trajectories_gillipsie(sys::System, params::SimulParameters; progbar::Bool = true,
66
psireset::VecOrMat{ComplexF64}=zeros(ComplexF64, 0))
77
```
88

@@ -89,12 +89,12 @@ BackAction.postjumpupdate!(L::Matrix{ComplexF64}, psi::Matrix{ComplexF64}; norma
8989

9090
### Trajectory Evaluation
9191
```@docs
92-
BackAction.run_singletrajectory(sys::System, params::SimulParameters, W::Vector{Float64}, P::Vector{Float64}, ts::Vector{Float64}, Qs::Array{ComplexF64}, Vs::Array{ComplexF64}; seed::Int64 = 1, isrenewal=false)
92+
BackAction.run_singletrajectory_gillipsie(sys::System, params::SimulParameters, W::Vector{Float64}, P::Vector{Float64}, ts::Vector{Float64}, Qs::Array{ComplexF64}, Vs::Array{ComplexF64}; seed::Int64 = 1, isrenewal=false)
9393
```
9494

9595

9696
```@docs
97-
BackAction.run_singletrajectory_renewal(sys::System, params::SimulParameters, W::Vector{Float64}, W0::Vector{Float64}, P::Vector{Float64}, ts::Vector{Float64},Qs::Array{ComplexF64}, Vs::Array{ComplexF64}, psireset::VecOrMat{ComplexF64}; seed::Int64 = 1)
97+
BackAction.run_singletrajectory_gillipsie_renewal(sys::System, params::SimulParameters, W::Vector{Float64}, W0::Vector{Float64}, P::Vector{Float64}, ts::Vector{Float64},Qs::Array{ComplexF64}, Vs::Array{ComplexF64}, psireset::VecOrMat{ComplexF64}; seed::Int64 = 1)
9898
```
9999

100100

Loading
Loading
Loading
Loading

notebooks/NewUnravelings.ipynb

+3,777-129
Large diffs are not rendered by default.

notebooks/Project.toml

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[deps]
22
BackAction = "32f8aca8-888b-4d2f-bb84-700bec69f41d"
3+
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
4+
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
35
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
46
HypothesisTests = "09f84164-cd44-5f33-b23f-e6b0d136a0d5"
57
LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
@@ -11,4 +13,5 @@ PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee"
1113
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc"
1214
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1315
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
16+
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
1417
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

0 commit comments

Comments
 (0)