-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Analytic computation of spectra of some fields (#22)
* Analytic computation of spectra of some fields * Analytic spectra for arithmetic fields * Fixed normalization of convolution * Implemented (normalized) FFTs of fields * WIP Analytic spectrum for ConstantField * Spectra for transverse fields * Better test of FWHM in view of unit conversion inaccuracy (#24) * Added test of analytic and numeric field spectra * Bump version to 0.2.0 since new Gaussian exponents can lead to different results * Increased test coverage * Removed unused methods * Fixed sign of spectrum * Some more tests * Fix for PrettyTables < 2 * Update compat for Documenter * Drop Julia < 1.6 * Fix doctests * Some docstrings * Preview PR docs * Added spectrum example plot * Missing plot and imports * Missing import * Increase test coverage * Fixed file name * Improved plot
- Loading branch information
Showing
16 changed files
with
659 additions
and
172 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
name = "ElectricFields" | ||
uuid = "2f84ce32-9bb1-11e8-0d9f-3dce90a4beca" | ||
authors = ["Stefanos Carlström <[email protected]>"] | ||
version = "0.1.6" | ||
version = "0.2.0" | ||
|
||
[deps] | ||
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c" | ||
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341" | ||
Formatting = "59287772-0a20-5a39-b81b-1366585eb4c0" | ||
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" | ||
|
@@ -20,17 +21,19 @@ UnitfulAtomic = "a7773ee8-282e-5fa2-be4e-bd808c38a91a" | |
FFTW = "1.3" | ||
Formatting = "0.4" | ||
ForwardDiff = "0.10" | ||
IntervalSets = "0.5.3,0.7" | ||
IntervalSets = "0.7" | ||
Optim = "1.3" | ||
Parameters = "0.12" | ||
PrettyTables = "2" | ||
Roots = "2" | ||
StaticArrays = "1.1" | ||
Unitful = "1.7" | ||
UnitfulAtomic = "1.0" | ||
julia = "1.5" | ||
julia = "1.6" | ||
|
||
[extras] | ||
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Test"] | ||
test = ["Test", "PrettyTables"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
[deps] | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341" | ||
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" | ||
UnitfulAtomic = "a7773ee8-282e-5fa2-be4e-bd808c38a91a" | ||
|
||
[compat] | ||
Documenter = "0.26" | ||
Documenter = "0.27" | ||
Unitful = "1.7" | ||
UnitfulAtomic = "1.0" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,5 @@ makedocs(; | |
|
||
deploydocs(; | ||
repo="github.com/jagot/ElectricFields.jl", | ||
push_preview = true, | ||
) |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
a832541
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register()
a832541
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/80496
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: