Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke-takase committed Sep 2, 2021
1 parent 4b35a9e commit e77e6a2
Show file tree
Hide file tree
Showing 11 changed files with 2,444 additions and 143 deletions.
21 changes: 2 additions & 19 deletions docs/src/Scanning.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,10 @@ mutable struct ScanningStrategy{T<:AbstractFloat, I<:Int, AA<:AbstractArray{T},
start_point::AS
end
```

You can generate `ScanningStrategy` structure using `gen_ScanningStrategy()` function.

```julia
ss = gen_ScanningStrategy()
```
The initial value of ss is automatically set to the following value.
```julia
ss.nside = 128,
ss.duration = 31536000, #[sec.]
ss.sampling_rate = 1, #[Hz]
ss.alpha = 45.0, #[deg.]
ss.beta = 50.0, #[deg.]
ss.prec_rpm = 0.005, #[rpm]
ss.spin_rpm = 0.01, #[rpm]
ss.hwp_rpm = 0.0, #[rpm]
ss.FP_theta = [0.0], #[deg.]
ss.FP_phi[0.0], #[deg.]
ss.start_point = "equator" #or "pole"
```
This initial value can be changed by specifying the `gen_ScanningStrategy()` argument when declaring ss like below.

This initial value of component of `ScanningStrategy` can be changed by specifying the `gen_ScanningStrategy()` argument when declaring `ss` like below.
```julia
ss = gen_ScanningStrategy(alpha=60, prec_rpm=0.001, sampling_rate=5)
```
Expand Down
238 changes: 169 additions & 69 deletions tutorial/.ipynb_checkpoints/Julia_in_Physics_2021-checkpoint.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit e77e6a2

Please sign in to comment.