Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
e680389
[travis] changing travis to test in mac
lasofivec Nov 27, 2019
709684e
[Issue304] get_summary() added to Struct and CamLOS2D
Nov 28, 2019
416be9f
update in travis done
lasofivec Nov 28, 2019
9e44fd9
merged with devel
lasofivec Nov 28, 2019
4b6901e
merge version number
lasofivec Nov 28, 2019
604bf03
added deploy on test.pypi if on devel
lasofivec Nov 28, 2019
d121e41
added deploy on test.pypi if on deploy-test
lasofivec Nov 28, 2019
6065092
Merge pull request #305 from ToFuProject/Issue304_GetSummaryForStruct
lasofivec Nov 28, 2019
5646259
[pypi deploy] took out apt get, named osx jobs
lasofivec Dec 1, 2019
a2b22b0
[travis] took out ldd version
lasofivec Dec 1, 2019
9c42de2
[pypi] naming linux jobs
lasofivec Dec 1, 2019
800a14d
[pypi] bionic 3.7
lasofivec Dec 1, 2019
2a8fe2e
[pypi] bionic 3.8
lasofivec Dec 1, 2019
f68a9be
[pypi] took out bionic 3.8
lasofivec Dec 1, 2019
da1cbf8
[pypi] install conda-verify
lasofivec Dec 1, 2019
49c9213
[pypi] cleaning some more
lasofivec Dec 1, 2019
7ceedca
[pypi] using pip instead of conda install
lasofivec Dec 1, 2019
566ccff
[pypi] befor deploy
lasofivec Dec 1, 2019
98b6fd8
[pypi] exported path correctly
lasofivec Dec 2, 2019
26abdf7
[pypi] no need to deploy if not tagged
lasofivec Dec 2, 2019
1c5f658
echoing path
lasofivec Dec 2, 2019
28544ed
echoing path
lasofivec Dec 2, 2019
2589c57
shouldnt be deploying to conda
lasofivec Dec 2, 2019
1887798
set anaconda upload to false
lasofivec Dec 2, 2019
c38d0ae
going back to conda for local install
lasofivec Dec 2, 2019
f435a5d
installing conda build
lasofivec Dec 2, 2019
c20ae68
trying install local before
lasofivec Dec 2, 2019
4a7a4e6
[FasterLOSCalcSumCalls] Replace loop on partial sum by ufinc np.add.r…
Dec 2, 2019
3b4947b
debugging
lasofivec Dec 2, 2019
e9af491
[(FasterLOSCalcSignalSumCalls] Corrected tests
Dec 2, 2019
5d7d5f1
[FasterLOSCalcSignalSumCalls] PEP8 Compliance
Dec 2, 2019
bc29ce6
[deploy] for conda install local needs condabuild before
lasofivec Dec 2, 2019
b73badc
[deploy] commenting all other deploy
lasofivec Dec 2, 2019
497be63
adding NSTX geometry
flothesof Dec 2, 2019
2cd2920
adding NSTX to list of configurations
flothesof Dec 2, 2019
eb212b2
adding NSTX to gallery
flothesof Dec 2, 2019
860996b
[Issue202] Improved CrystBragg docstrings for get_approx_detector_fra…
Dec 2, 2019
2d9b183
Merge pull request #309 from flothesof/feature_nstx
lasofivec Dec 2, 2019
266f02b
[deploy] version with space transformed to point
lasofivec Dec 2, 2019
75107bc
[deployment] corrected travis yml
lasofivec Dec 2, 2019
87899e8
[Issue202] Renamed CrystBragg.get_approx_detect() and started introdu…
Dec 3, 2019
efbf5ff
[Issue202] Advanced approx_detect() with di, dj, tilt add vertical su…
Dec 3, 2019
b186ea8
[deployment] on tags, branch
lasofivec Dec 4, 2019
5c69105
[deployment] skipping exisiting
lasofivec Dec 4, 2019
c25c76c
[qf] update version was being appended twice the tofu sub path
lasofivec Dec 4, 2019
0bfdf2b
undoing quick fix
lasofivec Dec 4, 2019
bbcea75
[qf] update version was being appended twice the tofu sub path
lasofivec Dec 4, 2019
3105e7c
merged with devel
lasofivec Dec 4, 2019
3d79749
update in version update (setup)
lasofivec Dec 4, 2019
e0d44f3
Merge pull request #315 from ToFuProject/qf-update-version
Didou09 Dec 4, 2019
413be47
[Issue202] Added vertsum1d to CrystBragg.plot_data_vs_philamb(), tuna…
Dec 4, 2019
c472511
Merge remote-tracking branch 'origin/devel' into Issue202_SpectroX2DC…
Dec 4, 2019
889acb5
put back all deploy methods
lasofivec Dec 4, 2019
038bf34
[test pypi] trying with new token
lasofivec Dec 4, 2019
f0af1a4
[test pypi] took out automatically added matrix
lasofivec Dec 4, 2019
f1e768c
[debugging] debugging mac vol <= 0.
lasofivec Dec 4, 2019
2548de5
[deploy] trying only one deployment no tags
lasofivec Dec 4, 2019
7b9be6c
[Issue202] Computing cone intersection with circle too cumbersome => …
Dec 4, 2019
e2c28f7
[deploy] new token and user is __token__
lasofivec Dec 4, 2019
83457f9
[deploy] added other deployments (different order)
lasofivec Dec 4, 2019
2af533b
[devel] version number update
Dec 6, 2019
072d163
[Issue202] Added magnetic axis to plot => investigate rhotn transform ?
Dec 6, 2019
16d7c79
[Issue202] MultiIDSLoader.add_ids() now working with already gotten i…
Dec 6, 2019
1874b91
[Issue202] Implementing add_ids_for_synthdiag()
Dec 6, 2019
bbc8b8e
[Issue318] MultiIDSLoader.add_ids_synthdiag() operational, with _chec…
Dec 9, 2019
de4bc67
[Issue318] ids_base=None and synthdiag=None now available from instan…
Dec 9, 2019
231dacd
[Issue318] MultiIDSLoader.get_events() operational (verb=True/False, …
Dec 9, 2019
c8c4087
[Issue318] PEP8 Compliance
Dec 9, 2019
b6ed4fc
[Issue202] CrystBragg.calc_johannerror() operational with plot, but D…
Dec 9, 2019
9ce7828
[Issue202] Fixed tanget_to_rowland, and more informative exception me…
Dec 9, 2019
063c165
[Issue202] Plotted images for ITER PDR, implemented tit / wintit in C…
Dec 10, 2019
83fb8be
merged with remote
lasofivec Dec 10, 2019
ebe97e3
[Issue202] Added rockingcurve to dbragg and plot_rockingcurve() to be…
Dec 10, 2019
fb0ea5e
[Issue202] Added get_rockingcurve_func(), TODO: add possibility of ta…
Dec 11, 2019
5fe6eee
[Issue202] Rocking curve more elaborate, now allows for tabulated dat…
Dec 11, 2019
dfd2011
[Issue202] Added input files for tests and develeping, to be deleted …
Dec 11, 2019
5100bae
Merge pull request #319 from ToFuProject/Issue318_AddSynthDiagIds
lasofivec Dec 11, 2019
8a40737
Merge branch 'devel' into Issue316_CommonIDDForAllIDSget
lasofivec Dec 11, 2019
ad51d41
Merge pull request #317 from ToFuProject/Issue316_CommonIDDForAllIDSget
lasofivec Dec 11, 2019
ebc5fa7
Merge branch 'devel' into Issue202_SpectroX2DCrystal
Dec 12, 2019
7d3011e
[Issue202] CrystBragg.get_summary() now displays rocking curve type
Dec 12, 2019
f44434f
[Issue202] Both tabulated-1d and 2d rocking curves possible, finish p…
Dec 12, 2019
b2beda9
[Issue202] Johann error now also visible with plot_line_tracing() for…
Dec 13, 2019
f1da521
trying automatic CI with new name, to be reverted
lasofivec Dec 14, 2019
f0a4a89
trying automatic CI with new name, to be reverted
lasofivec Dec 15, 2019
c751117
[Issue202] Corrected lack of recurrence of self.to_dict(sep=...) in t…
Dec 16, 2019
b0dac67
[Issue202] imas2tofu more robust vs Config saving and loading to/from…
Dec 16, 2019
e6b26cc
[Issue202] save(mode='mat') default to sep='_'
Dec 16, 2019
e1f9f11
[Issue202] Advanced calc_from_pts (phibragg, line projection...), TBF
Dec 16, 2019
202c2cf
[Issue202] Continued calc_phibragg_from_pts(), updating related metho…
Dec 17, 2019
6ffce17
[Issue202] Minor changes for better robustness in tofu/geom/_core.py …
Dec 18, 2019
39b1a00
[Issue202] PEP8 Compliance 1
Dec 18, 2019
29de9d5
[Issue202] PEP8 Compliance 2
Dec 18, 2019
b5d9193
[Issue202] PEP8 Compliance 3
Dec 18, 2019
ac0016b
[Issue202] PEP8 Compliance 4
Dec 18, 2019
c31f86b
[Issue202] PEP8 Compliance 5
Dec 18, 2019
1ce295f
[Issue321] Added 2dmeshR and 2dmeshZ to default equilibirium shortcuts
Dec 18, 2019
bc47291
Merge branch 'Issue202_SpectroX2DCrystal' into Issue321_RectangularGr…
Dec 18, 2019
d698343
Merge pull request #320 from ToFuProject/Issue202_SpectroX2DCrystal
lasofivec Dec 18, 2019
8b7b95e
[Issue321] Almost all synthdiag working, finish testing
Dec 19, 2019
ccc8ff3
[Issue321] Warning more explicit for missing subpackages (print())
Jan 6, 2020
57ccad4
[Issue321] Harmonized variable name indDescription -> description_2d …
Jan 6, 2020
af693de
[Issue321] imas2tofu._save_to_imas_Config() now complying with new st…
Jan 6, 2020
3940393
[Issue321] info about whether Struct is mobile now stored in name of …
Jan 6, 2020
d1f438e
speeding up new calc
lasofivec Jan 6, 2020
00d1e05
Merge pull request #308 from ToFuProject/Faster_LOSCalcSignalSumCalls
lasofivec Jan 6, 2020
70e63e0
[enhacement] defined res and indices the right way, erased old code
lasofivec Jan 6, 2020
7b1cc0f
Merge branch 'devel' into Issue321_RectangularGridMETIS
Jan 7, 2020
ac2a365
[Issue321] MultiIDSLoader.to_Config() now operational again from vell…
Jan 7, 2020
e332b2a
fixed f-contiguous error
lasofivec Jan 7, 2020
f7d47d5
[Issue321] Added 'names' to default data extracted when exporting Mul…
Jan 7, 2020
e1f4838
only keeping memory view
lasofivec Jan 7, 2020
64c398f
Merge pull request #322 from ToFuProject/Faster_LOSCalcSignalSumCalls…
Didou09 Jan 7, 2020
583cb9b
[Issue321] Interferometer and polarimeter synth diag now operational …
Jan 8, 2020
3ce09a5
[Issue321] Started refurbishing Multi.to_Data(indch, indch_auto), alm…
Jan 8, 2020
320dc7d
Merge branch 'devel' into Issue321_RectangularGridMETIS
Jan 8, 2020
2765689
[#314] fixed bug on mac coming from modulo with negative values with …
lasofivec Jan 9, 2020
4046567
Merge pull request #323 from ToFuProject/Issue314_Cmodulo
Didou09 Jan 9, 2020
9170084
put back right project name
lasofivec Jan 9, 2020
4d0df8f
[merge] merged with devel
lasofivec Jan 9, 2020
f12b758
[travis] adding branch specification and tag flag
lasofivec Jan 9, 2020
4c77656
[travis] correct travis file
lasofivec Jan 9, 2020
6d750a8
Delete TFG_CrystalBragg_ExpWEST_DgXICS_ArXVII_sh00000_Vers1.4.1-174-g…
lasofivec Jan 9, 2020
579eb71
correct version number
lasofivec Jan 9, 2020
2b9cb55
trying to correct version number
lasofivec Jan 9, 2020
5bff9e5
updated version number
lasofivec Jan 9, 2020
2918fdb
updated version number
lasofivec Jan 9, 2020
e6c9f42
Merge pull request #324 from ToFuProject/erasing-file
Didou09 Jan 10, 2020
b44ea31
updated version number
lasofivec Jan 10, 2020
6f7b944
updated version number
lasofivec Jan 10, 2020
75d20ea
[Issue321] Synth. diag operational for all (tofu-side) and indch_auto…
Jan 10, 2020
e8560d1
testing
lasofivec Jan 10, 2020
1b17fca
[Issue321] PEP8 compliance
Jan 10, 2020
456254d
[Issue321] PEP8 compliance 2
Jan 10, 2020
af676c7
[Issue321] PEP8 compliance 3
Jan 10, 2020
fac943f
[Issue321] PEP8 compliance 4
Jan 10, 2020
bb2a7e1
[Issue321] PEP8 compliance 5
Jan 10, 2020
5212640
[Issue321] PEP8 compliance 6
Jan 10, 2020
99e8092
testing
lasofivec Jan 10, 2020
2228cda
new version
lasofivec Jan 10, 2020
e74f678
[Issue321] PEP8 compliance 7
Jan 10, 2020
762f2fe
[Issue321] PEP8 compliance 8
Jan 10, 2020
e246d32
with new key
lasofivec Jan 10, 2020
40d1ac1
with perso key
lasofivec Jan 10, 2020
4158777
new version
lasofivec Jan 10, 2020
9fc4efe
Merge branch 'devel' into Issue321_RectangularGridMETIS
Jan 13, 2020
6503b99
[Issue301] Implemented tf.geom.utils.get_available_config(), with mor…
Jan 13, 2020
f2f9cb4
[Issue301] PEP8 compliance 1
Jan 13, 2020
c26ae59
[Issue321] Added safeguard to use fill_value when interpolated data i…
Jan 13, 2020
666ceff
[Issue321] Debugged time index bug in data._comp.py interpolation fun…
Jan 13, 2020
f22285a
[Issue321] Modified Config.save_to_imas() to put vessel in limiter/mo…
Jan 14, 2020
b571227
[Issue321] Modified Multi.to_Config() to handle ves as last unit of l…
Jan 14, 2020
5e9b601
[Issue321] More explicit error message when nlim and nmob are both no…
Jan 14, 2020
74ab681
[Issue321] PEP8 compliance 9
Jan 14, 2020
80bc6fe
Merge pull request #325 from ToFuProject/Issue321_RectangularGridMETIS
Didou09 Jan 14, 2020
995809f
[Issue301] Error message now used also when user provides no input to…
Jan 14, 2020
11c1060
[Issue301] Typo
Jan 14, 2020
67d988b
[Issue281] Added diaggeom input file for AUG config in 2D
Jan 17, 2020
8cf3812
[Issue281] First version of all AUG txt files from diaggeom, 13/33 ha…
Jan 17, 2020
0e006f9
[Issue281] More robust strategy for input polygons with double points…
Jan 17, 2020
ae6a650
Merge branch 'devel' into Issue281_NewDefaultConfigs
Jan 17, 2020
6d60c25
[Issue281] Moving reference AUG diaggeom coords file to tofu/geom/inp…
Jan 17, 2020
03dfe39
[Issue281] Corrected all double points in AUG txt files, still 3 Stru…
Jan 17, 2020
4837932
[Issue281] Added 'AUG-V1' and shortcut 'AUG' to predefined config, bu…
Jan 17, 2020
ef8ffa1
[Issue301] Rename _DCONFIG_TABLE -> _DCONFIG_SHORTCUTS
Jan 17, 2020
2b90034
[Issue301] Added comments (for dev) and docstr to new method, also in…
Jan 17, 2020
f7444b9
[Issue301] Better formatted msg (url on its onw line)
Jan 17, 2020
66bc709
Merge branch 'devel' into Issue301_GetListConfigs
Didou09 Jan 17, 2020
56f3078
[Issue301] PEP8 compliance
Jan 17, 2020
7340194
Merge branch 'Issue301_GetListConfigs' of https://github.com/ToFuProj…
Jan 17, 2020
7a3aca1
None and True options for returnas are also handled in get_available_…
Didou09 Jan 17, 2020
468e68a
Merge pull request #327 from ToFuProject/Issue301_GetListConfigs
Didou09 Jan 17, 2020
cbcc34c
Merge branch 'devel' into Issue281_NewDefaultConfigs
Jan 17, 2020
08eeb45
added bdsit wheel
lasofivec Jan 20, 2020
c8e02ca
new version
lasofivec Jan 20, 2020
5da95ce
corrected travis file
lasofivec Jan 20, 2020
810ec8c
new version
lasofivec Jan 20, 2020
61c6165
all deployments done
lasofivec Jan 20, 2020
f6971f5
new version
lasofivec Jan 20, 2020
806f817
new version
lasofivec Jan 20, 2020
5e47a9e
[deployment] added back anacaonda upload, black
lasofivec Jan 21, 2020
885b85a
Merge pull request #328 from ToFuProject/deploy-test
Didou09 Jan 21, 2020
5cbbf7c
[doc] updated gallery tuto: bf #329
lasofivec Jan 21, 2020
8daec89
Merge branch 'devel' into Issue281_NewDefaultConfigs
Jan 21, 2020
cfeeec9
Merge remote-tracking branch 'origin/devel' into new-doc
lasofivec Jan 21, 2020
ebd494b
[bf #331] raising exceptions when poly ill defined
lasofivec Jan 21, 2020
a0f432b
[bf #331] black changes
lasofivec Jan 21, 2020
9b83143
[Issue281_fork] Sligtly more explicit error message
Jan 22, 2020
967e02a
[bf #331] corrected last point index when lowest right is 0
lasofivec Jan 22, 2020
ea9d745
Merge branch 'Issue281_fork' of https://github.com/ToFuProject/tofu i…
lasofivec Jan 22, 2020
8d67f90
[bf #331] checking if poly is in wrong order in isclockwise
lasofivec Jan 22, 2020
f5b8d06
Merge pull request #332 from ToFuProject/Issue281_fork
Didou09 Jan 23, 2020
c10784e
[Issue281] PEP8 Compliance
Jan 23, 2020
3e5caf6
Merge pull request #333 from ToFuProject/Issue281_NewDefaultConfigs
lasofivec Jan 24, 2020
2548b06
Merge remote-tracking branch 'origin/devel' into new-doc
lasofivec Jan 24, 2020
e312f12
[doc] new aug geom
lasofivec Jan 24, 2020
822c9da
Merge pull request #330 from ToFuProject/new-doc
Didou09 Jan 24, 2020
e4c7c24
[Issue335] descriptio_2d propagated to to_Plasma2D(), to_Cam() and to…
Jan 27, 2020
375c9f3
[Issue335] Added docstr to Multi.get_data(), to_Config(), to_Plasma2D…
Jan 28, 2020
038ef35
[Issue335] PEP8 compliance
Jan 28, 2020
f80016a
[Issue #337] replaced Poly_Order by format_poly
lasofivec Jan 28, 2020
b560c39
pep8 speaks changes
lasofivec Jan 28, 2020
fbc07eb
pep8 speaks changes
lasofivec Jan 28, 2020
5b11c7b
[Issue335] Typos
Jan 28, 2020
6147320
Merge pull request #338 from ToFuProject/Issue#337-polyorder
Didou09 Jan 28, 2020
0840bdc
Merge pull request #336 from ToFuProject/Issue335_description2d
Didou09 Jan 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 95 additions & 37 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,69 +1,127 @@
language: python
python:
- '3.6'
- '3.7-dev'

git:
depth: 200
sudo: required
dist: trusty
matrix:
include:
- name: Bionic python 3.7
os: linux
dist: bionic
python: 3.7
env:
- REPO=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- OS=linux-64
- name: trusty python 3.6
os: linux
dist: trusty
python: 3.6
env:
- REPO=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- OS=linux-64
- name: xenial python 3.7
os: linux
dist: xenial
python: 3.7
env:
- REPO=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- OS=linux-64
- name: xenial python 3.6
os: linux
dist: xenial
python: 3.6
env:
- REPO=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
- OS=linux-64
- name: osx python 3.7
os: osx
language: generic
env:
- REPO=https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
- TRAVIS_PYTHON_VERSION=3.7
- OS=osx-64
- name: osx python 3.6
os: osx
language: generic
env:
- REPO=https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
- TRAVIS_PYTHON_VERSION=3.6
- OS=osx-64
before_install:
- sudo apt-get update
- ldd --version
- gcc --version
- export START=$(pwd)
- gcc --version
- export START=$(pwd)
install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.7-dev" ]]; then export VADD="py37"; else export VADD="py36"; fi
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh
- wget "$REPO" -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda install conda-build
- conda update -q conda
- conda update -n root conda-build
- conda config --set anaconda_upload no
- conda config --append channels conda-forge
- conda config --append channels tofuproject
- conda info -a
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.7-dev" ]]; then export THIS_PY_VERSION="3.7";
else THIS_PY_VERSION=$TRAVIS_PYTHON_VERSION;
fi
- conda install -q python=$THIS_PY_VERSION conda-build anaconda-client nose
nose-timer coverage codecov
- conda install -q python="$TRAVIS_PYTHON_VERSION" conda-verify nose nose-timer coverage
codecov
- export REV=$(python -c "import _updateversion as up; out=up.updateversion(); print(out)")
- export VERSION=$(echo $REV | tr - .)
- echo $REV
- conda build conda_recipe
- export PKG_DIR=$HOME/miniconda/conda-bld/linux-64/
- conda install tofu --use-local
- pip install -e ".[dev]"
script:
- cd $HOME
- nosetests tofu.tests --nocapture -v --with-id --with-timer --with-coverage
--cover-package=tofu
- nosetests tofu.tests --nocapture -v --with-id --with-timer --with-coverage --cover-package=tofu
after_success:
- codecov
- chmod +x $START/anaconda_upload.sh
- echo $TRAVIS_TAG
before_deploy:
- echo "BEFORE DEPLOY START........"
- ls $START
- cd $START
- conda config --set anaconda_upload no
- conda install anaconda-client conda-build
- conda build conda_recipe
- export PKG_REAL=$(conda build . --output | tail -1)
- echo "BEFORE DEPLOY END.........."
deploy:
- provider: script
user: "ToFuProject"
script: $START/anaconda_upload.sh
- provider: pypi
distributions: sdist
user: __token__
skip_existing: true
on:
tags: true
all_branches: true
skip_cleanup: true
branch: deploy-test
server: https://test.pypi.org/legacy/
password:
secure: xfVFuoz9YYNChzmT8DC9y+8eH6zdFkfoy3B51uqy8b+vhJNzCzLay4F0uSHvhHy6iYorM6UQKr6soC4D7n3PhmnFOTX/cgLtd/p4gBWGYZF6yXacvw+UHKMshgbAhn2sEynxdSAqdAlNttMI8jsUu9RhbzGiv1l5zSNnFWF4Zsly02G68UnztxIGoz8AYTRW2N2oQhGrl/ryj/YG4mSRKjled6BzK7kNoJUqLGl12DqdMMTEmdJ9NHBXgK3Dv0ya17ReFz3TcxE/4+Yc38NwSR4Ia2EvVSMtyIaccQ1uSrXwW8JQOMn+9CmDWZVUMDD2bzKYbm2WGGM9Fh8WrHnwlWRujoLDofhYEK0Cus11gULFF+J88XucOJlyJNrHP6TWxdSVVoQfwWr2ABqZIvilsvHpF+sjDLqomTNHdi+BbzP2koRv0nJb9K1W24bjPLtSK8+plX7suv7gdBNwlsJ+dPLDM87v4+jGHGthQ6P4X2guTMHZm1PU0PSPB9LCbENCN1uktLLhkgx7gZ42Ag+Jwiu02ENkChLaEB4WpPb9mjLnomu5LDYXFGtPJ/uLMOi3VCXyda0LrzqDhXYT3Cg4hvXySwJcgMYSXalfTxnTm9oouePiEXDbK+XwjMP9mjC5CeMg3SaFFTywqaTH0WUqiOBUJ6H3Gsm0sB15Tj4lNKQ=
- provider: pypi
distributions: bdist_wheel
user: __token__
skip_existing: true
on:
condition: $OS = osx-64
tags: true
branch: deploy-test
server: https://test.pypi.org/legacy/
password:
secure: xfVFuoz9YYNChzmT8DC9y+8eH6zdFkfoy3B51uqy8b+vhJNzCzLay4F0uSHvhHy6iYorM6UQKr6soC4D7n3PhmnFOTX/cgLtd/p4gBWGYZF6yXacvw+UHKMshgbAhn2sEynxdSAqdAlNttMI8jsUu9RhbzGiv1l5zSNnFWF4Zsly02G68UnztxIGoz8AYTRW2N2oQhGrl/ryj/YG4mSRKjled6BzK7kNoJUqLGl12DqdMMTEmdJ9NHBXgK3Dv0ya17ReFz3TcxE/4+Yc38NwSR4Ia2EvVSMtyIaccQ1uSrXwW8JQOMn+9CmDWZVUMDD2bzKYbm2WGGM9Fh8WrHnwlWRujoLDofhYEK0Cus11gULFF+J88XucOJlyJNrHP6TWxdSVVoQfwWr2ABqZIvilsvHpF+sjDLqomTNHdi+BbzP2koRv0nJb9K1W24bjPLtSK8+plX7suv7gdBNwlsJ+dPLDM87v4+jGHGthQ6P4X2guTMHZm1PU0PSPB9LCbENCN1uktLLhkgx7gZ42Ag+Jwiu02ENkChLaEB4WpPb9mjLnomu5LDYXFGtPJ/uLMOi3VCXyda0LrzqDhXYT3Cg4hvXySwJcgMYSXalfTxnTm9oouePiEXDbK+XwjMP9mjC5CeMg3SaFFTywqaTH0WUqiOBUJ6H3Gsm0sB15Tj4lNKQ=
- provider: pypi
distributions: sdist
user: "Didou09"
distributions: "sdist"
skip_cleanup: true
skip_existing: true
on:
tags: true
all_branches: true
branch: master
password:
secure: JNEDTDJVx/2fXNfHntNQ99iDRNuQ4uB3y+DBWVIBycCT95+UCb36YPtKzmruEk/UUS29Xgq4IYCGdfCSWE9smKqG8tV1PcHiw705m+AzcpKy77YtzbVECFBxqY4W36O2pHrkwEUzP/7acjFwNsnUFzArqEzsBJ+KdLaa4OPHJXCh30GA0GyqlrXYbBKG+DA9hX5vtsGo4C6w9noALYF3fS7pKPiI6ipKFnAlzGgHQ7Ke0uQME8N3IAFhmh+Z5xMtIIDWxlnqv+KszdG4DIaGV/W6NIJNAbRhzkqUd+Chu6LoPAd/XkHDTeirR/MBkNUc5UcRJxRnP9rUTRo1gCO/buTYuNRgFkMvqhV5a033+x9edWgtUiKNJIMPLXOxe0RJvc5GWji+Co77HtHxRmGRM2rnYqWMtZeYZlFbUdvHu/8jf0d6I8jyUgAoJYdlMA2u/ipENP3S6by4epE9qycUPXiIVh6r3DZbf3vPTMFvTZYAjBrA0NOzihv1xgcXwemmNUFOQSpe0io4UcFxtS9lLMo+30UMQjCHSnbEVM3zSlZmbMOKpkVOlKlt8Lz5NxwVgWtu9FuW2pGukLtE8AWbqvY9urXAPZCQqZlOIklIjJQIqOITnuw9LEV09cgvPHXfdvNni3ldbMlIQ89zryM6dYvhYryTiEZGK4JDR3wAKJA=
- provider: pypi
distributions: bdist_wheel
user: "Didou09"
skip_existing: true
on:
condition: $OS = osx-64
tags: true
branch: master
password:
secure: JNEDTDJVx/2fXNfHntNQ99iDRNuQ4uB3y+DBWVIBycCT95+UCb36YPtKzmruEk/UUS29Xgq4IYCGdfCSWE9smKqG8tV1PcHiw705m+AzcpKy77YtzbVECFBxqY4W36O2pHrkwEUzP/7acjFwNsnUFzArqEzsBJ+KdLaa4OPHJXCh30GA0GyqlrXYbBKG+DA9hX5vtsGo4C6w9noALYF3fS7pKPiI6ipKFnAlzGgHQ7Ke0uQME8N3IAFhmh+Z5xMtIIDWxlnqv+KszdG4DIaGV/W6NIJNAbRhzkqUd+Chu6LoPAd/XkHDTeirR/MBkNUc5UcRJxRnP9rUTRo1gCO/buTYuNRgFkMvqhV5a033+x9edWgtUiKNJIMPLXOxe0RJvc5GWji+Co77HtHxRmGRM2rnYqWMtZeYZlFbUdvHu/8jf0d6I8jyUgAoJYdlMA2u/ipENP3S6by4epE9qycUPXiIVh6r3DZbf3vPTMFvTZYAjBrA0NOzihv1xgcXwemmNUFOQSpe0io4UcFxtS9lLMo+30UMQjCHSnbEVM3zSlZmbMOKpkVOlKlt8Lz5NxwVgWtu9FuW2pGukLtE8AWbqvY9urXAPZCQqZlOIklIjJQIqOITnuw9LEV09cgvPHXfdvNni3ldbMlIQ89zryM6dYvhYryTiEZGK4JDR3wAKJA=
- provider: script
user: "ToFuProject"
script: $START/anaconda_upload.sh
on:
tags: true
branch: master
skip_cleanup: true
67 changes: 43 additions & 24 deletions Notebooks/Cython_speedup_notes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,20 @@
"output_type": "stream",
"text": [
"For L = 1000\n",
"0.360000 μs, using the untyped_func\n",
"0.123000 μs, using the somewhat_typed_func\n",
"0.113000 μs, using the typed_func\n",
"0.029000 μs, using the inline_typed_func\n",
"0.798000 μs, using the untyped_func\n",
"0.027000 μs, using the somewhat_typed_func\n",
"0.017000 μs, using the typed_func\n",
"0.008000 μs, using the inline_typed_func\n",
"For L = 10000\n",
"5.174000 μs, using the untyped_func\n",
"0.024000 μs, using the somewhat_typed_func\n",
"0.012000 μs, using the typed_func\n",
"0.015000 μs, using the inline_typed_func\n",
"8.871000 μs, using the untyped_func\n",
"0.027000 μs, using the somewhat_typed_func\n",
"0.014000 μs, using the typed_func\n",
"0.014000 μs, using the inline_typed_func\n",
"For L = 100000\n",
"43.197000 μs, using the untyped_func\n",
"0.151000 μs, using the somewhat_typed_func\n",
"0.025000 μs, using the typed_func\n",
"0.024000 μs, using the inline_typed_func\n"
"81.221000 μs, using the untyped_func\n",
"0.148000 μs, using the somewhat_typed_func\n",
"0.010000 μs, using the typed_func\n",
"0.015000 μs, using the inline_typed_func\n"
]
}
],
Expand Down Expand Up @@ -200,7 +200,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -210,19 +210,19 @@
"\n",
"-------- TESTS -------\n",
"Running numpy buffers\n",
"0.020667 0.009333 0.098333 0.882333 6.571667 58.261333 670.627333 μs\n",
"0.010667 0.027000 0.108667 0.926667 11.027667 95.586333 1118.653333 μs\n",
"Running cpython.array buffer\n",
"0.327333 0.090000 0.323333 0.742333 7.339333 70.054000 1853.809000 μs\n",
"0.074667 0.091667 0.351667 3.606667 25.803333 230.891000 2605.097000 μs\n",
"Running cpython.array memoryview\n",
"0.890333 0.785000 1.215667 1.305667 6.270667 44.810333 538.815667 μs\n",
"0.325333 0.398667 1.079000 1.887667 7.430000 79.003667 1005.866000 μs\n",
"Running cpython.array raw C type with trick\n",
"0.044000 0.048667 0.380000 1.419333 10.037000 100.486667 2541.475333 μs\n",
"0.035000 0.041667 0.119667 0.787667 8.991000 93.519667 1401.235667 μs\n",
"Running C pointers\n",
"0.006000 0.006333 0.023667 0.159000 2.129667 25.866667 363.967667 μs\n",
"0.005000 0.006667 0.057333 0.563333 5.081000 35.753000 887.650667 μs\n",
"Running malloc memoryview\n",
"0.588667 0.630333 0.663667 1.224333 2.392333 23.987667 379.138667 μs\n",
"0.482333 1.043333 0.778000 1.127333 6.685000 53.277667 798.593333 μs\n",
"Running argument memoryview\n",
"0.011667 0.016333 0.112000 0.722667 5.305000 45.683333 525.975333 μs\n"
"0.008000 0.019000 0.156000 1.217000 10.740000 96.713667 1305.644333 μs\n"
]
}
],
Expand Down Expand Up @@ -391,7 +391,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -402,9 +402,28 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 6,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"For L = 1000\n",
"10.211000 μs, using the sequential loop\n",
"58.846000 μs, using the parallel 1 loop\n",
"25.343000 μs, using the parallel 2 loop\n",
"For L = 10000\n",
"53.134000 μs, using the sequential loop\n",
"180.918000 μs, using the parallel 1 loop\n",
"49.014000 μs, using the parallel 2 loop\n",
"For L = 100000\n",
"827.005000 μs, using the sequential loop\n",
"601.007000 μs, using the parallel 1 loop\n",
"132.242000 μs, using the parallel 2 loop\n"
]
}
],
"source": [
"%%cython --compile=-fopenmp --link-args=-fopenmp\n",
"\n",
Expand Down Expand Up @@ -650,7 +669,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.2"
"version": "3.7.5"
}
},
"nbformat": 4,
Expand Down
Binary file not shown.
Loading