Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http:// → https:// #221

Merged
merged 1 commit into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion README-edflib.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sample frequency of 2048 Hz.
`sweep_generator` creates a linear or logarithmic sweep through a range of frequencies in EDF+ or
BDF+ format.

Use EDFbrowser to view these files: http://www.teuniz.net/edfbrowser/
Use EDFbrowser to view these files: https://www.teuniz.net/edfbrowser/

`test_edflib <filename> <signalnumber>` will print the properties of the EDF/BDF header, the
annotations, and the values of 200 samples of the chosen signal. For example, running
Expand Down
22 changes: 11 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pyEDFlib
:alt: Test Coverage

.. image:: https://readthedocs.org/projects/pyedflib/badge/?version=latest
:target: http://pyedflib.readthedocs.org/en/latest/?badge=latest
:target: https://pyedflib.readthedocs.io/en/latest/?badge=latest
:alt: Docs Build

.. image:: https://badge.fury.io/py/pyEDFlib.svg
Expand Down Expand Up @@ -42,7 +42,7 @@ The EDFlib is able to read and write EDF/EDF+/BDF/BDF+ files.
Documentation
-------------

Documentation is available online at http://pyedflib.readthedocs.org.
Documentation is available online at https://pyedflib.readthedocs.io.

Installation
------------
Expand Down Expand Up @@ -118,18 +118,18 @@ Releases can be cited via Zenodo.
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5678481.svg
:target: https://doi.org/10.5281/zenodo.5678481

.. _Cython: http://cython.org/
.. _Anaconda: https://www.continuum.io
.. _Cython: https://cython.org/
.. _Anaconda: https://www.anaconda.com/
.. _GitHub: https://github.com/holgern/pyedflib
.. _GitHub Issues: https://github.com/holgern/pyedflib/issues
.. _Numpy: http://www.numpy.org
.. _Python: http://python.org/
.. _Python Package Index: http://pypi.python.org/pypi/pyEDFlib/
.. _Numpy: https://numpy.org/
.. _Python: https://www.python.org/
.. _Python Package Index: https://pypi.org/project/pyEDFlib/
.. _Releases Page: https://github.com/holgern/pyedflib/releases
.. _edfplus.info: http://www.edfplus.info/
.. _European Data Format: http://www.edfplus.info/
.. _edfplus.info: https://www.edfplus.info/
.. _European Data Format: https://www.edfplus.info/
.. _Kemp2003: https://www.ncbi.nlm.nih.gov/pubmed/12948806?dopt=Citation
.. _Kemp1992: https://www.ncbi.nlm.nih.gov/pubmed/1374708?dopt=Abstract
.. _BioSemi: http://www.biosemi.com/faq/file_format.htm
.. _BioSemi: https://www.biosemi.com/faq/file_format.htm
.. _toolbox from Christopher Lee-Messer: https://github.com/cleemesser/python-edf
.. _EDFlib: http://www.teuniz.net/edflib/
.. _EDFlib: https://www.teuniz.net/edflib/
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BUILDDIR = build

# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from https://www.sphinx-doc.org/)
endif

# Internal variables.
Expand Down
2 changes: 1 addition & 1 deletion doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if errorlevel 9009 (
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
echo.https://www.sphinx-doc.org/
exit /b 1
)

Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
html_use_opensearch = 'http://pyedflib.readthedocs.org'
html_use_opensearch = 'https://pyedflib.readthedocs.io'

# This is the file name suffix for HTML files (e.g. ".xhtml").
#html_file_suffix = None
Expand Down
12 changes: 6 additions & 6 deletions doc/source/dev/installing_build_dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ project. If you don't have `virtualenv`_ yet, install and activate it using::
Installing Cython
-----------------

Use ``pip`` (http://pypi.python.org/pypi/pip) to install Cython_::
Use ``pip`` (https://pypi.org/project/pip/) to install Cython_::


pip install Cython>=0.16
Expand All @@ -34,11 +34,11 @@ Numpy can also be obtained via scientific python distributions such as:

- Anaconda_
- `Enthought Deployment Manager`_
- `Python(x,y) <http://python-xy.github.io/>`_
- `Python(x,y) <https://python-xy.github.io/>`_

.. note::

You can find binaries for 64-bit Windows on http://www.lfd.uci.edu/~gohlke/pythonlibs/.
You can find binaries for 64-bit Windows on https://www.lfd.uci.edu/~gohlke/pythonlibs/.


Installing Sphinx
Expand All @@ -55,9 +55,9 @@ via::
pip install numpydoc


.. _virtualenv: http://pypi.python.org/pypi/virtualenv
.. _numpy: http://numpy.scipy.org/
.. _Cython: http://cython.org/
.. _virtualenv: https://pypi.org/project/virtualenv/
.. _numpy: https://numpy.org/
.. _Cython: https://cython.org/
.. _Sphinx: http://sphinx.pocoo.org
.. _numpydoc: https://github.com/numpy/numpydoc
.. _Anaconda: https://www.continuum.io/downloads
Expand Down
6 changes: 3 additions & 3 deletions doc/source/dev/preparing_windows_build_environment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ After completing these steps continue with
:ref:`Installing build dependencies <dev-installing-build-dependencies>`.


.. _Python: http://python.org/
.. _numpy: http://numpy.scipy.org/
.. _Cython: http://cython.org/
.. _Python: https://www.python.org/
.. _numpy: https://numpy.org/
.. _Cython: https://cython.org/
.. _Sphinx: http://sphinx.pocoo.org/
.. _Microsoft Visual C++ Compiler for Python 2.7: https://www.microsoft.com/en-us/download/details.aspx?id=44266
4 changes: 2 additions & 2 deletions doc/source/dev/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ Tests are implemented with `nose`_, so use one of:
Note doctests require `Matplotlib`_ in addition to the usual dependencies.


.. _nose: http://nose.readthedocs.org/en/latest/
.. _Matplotlib: http://matplotlib.org
.. _nose: https://nose.readthedocs.io/
.. _Matplotlib: https://matplotlib.org/
14 changes: 7 additions & 7 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ Description

``PyEDFlib`` is a `Python`_ library to read/write *EDF/EDF+/BDF* files based on EDFlib.

*EDF* stands for `European Data Format <http://www.edfplus.info/>`_, a data format for EEG data, first `published in 1992 <https://doi.org/10.1016/0013-4694(92)90009-7>`_.
*EDF* stands for `European Data Format <https://www.edfplus.info/>`_, a data format for EEG data, first `published in 1992 <https://doi.org/10.1016/0013-4694(92)90009-7>`_.
In 2003, an improved version of the file protocol named *EDF+* `has been published <https://doi.org/10.1016/S1388-2457(03)00123-8>`_.

The definition of the *EDF/EDF+* format can be found under `edfplus.info <https://www.edfplus.info/>`_.

The *EDF/EDF+* format saves all data with 16 Bit.
A version of the format which saves all data with 24 Bit, called *BDF*, was introduced by the company `BioSemi <https://www.biosemi.com/faq/file_format.htm>`_.

The ``PyEDFlib`` `Python`_ toolbox is a fork of the ``python-edf`` `toolbox from Christopher Lee-Messer <https://github.com/cleemesser/python-edf>`_.
The ``PyEDFlib`` `Python`_ toolbox is a fork of the ``python-edf`` `toolbox from Christopher Lee-Messer <https://github.com/cleemesser/python-edf/>`_.
and uses the `EDFlib <http://www.teuniz.net/edflib/>`_ from Teunis van Beelen.

Requirements
Expand Down Expand Up @@ -67,12 +67,12 @@ Contents
resources
contents

.. _Cython: http://cython.org/
.. _Cython: https://cython.org/
.. _demo: https://github.com/holgern/pyedflib/tree/master/demo
.. _GitHub: https://github.com/holgern/pyedflib
.. _GitHub Issues: https://github.com/holgern/pyedflib/issues
.. _Numpy: http://www.numpy.org
.. _edflib: http://www.teuniz.net/edflib/
.. _Python: http://python.org/
.. _Python Package Index: http://pypi.python.org/pypi/pyedflib/
.. _Numpy: https://numpy.org/
.. _edflib: https://www.teuniz.net/edflib/
.. _Python: https://www.python.org/
.. _Python Package Index: https://pypi.org/project/pyEDFlib/
.. _Releases Page: https://github.com/holgern/pyedflib/releases
2 changes: 1 addition & 1 deletion pyedflib/_extensions/_pyedflib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def contains_unicode(string):
def get_short_path_name(long_name):
"""
Gets the short path name of a given long path.
http://stackoverflow.com/a/23598461/200291
https://stackoverflow.com/a/23598461/200291
"""
import ctypes
from ctypes import wintypes
Expand Down
6 changes: 3 additions & 3 deletions pyedflib/_extensions/c/edflib.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ extern "C" {



/* For more info about the EDF and EDF+ format, visit: http://edfplus.info/specs/ */
/* For more info about the EDF and EDF+ format, visit: https://edfplus.info/specs/ */

/* For more info about the BDF and BDF+ format, visit: http://www.teuniz.net/edfbrowser/bdfplus%20format%20description.html */
/* For more info about the BDF and BDF+ format, visit: https://www.teuniz.net/edfbrowser/bdfplus%20format%20description.html */

/*
* note: In EDF, the sensitivity (e.g. uV/bit) and offset are stored using four parameters:
Expand All @@ -149,7 +149,7 @@ extern "C" {
* For a better explanation about the relation between digital data and physical data,
* read the document "Coding Schemes Used with Data Converters" (PDF):
*
* http://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=sbaa042
* https://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=sbaa042
*
* note: An EDF file usually contains multiple so-called datarecords. One datarecord usually has a duration of one second (this is the default but it is not mandatory!).
* In that case a file with a duration of five minutes contains 300 datarecords. The duration of a datarecord can be freely choosen but, if possible, use values from
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
REQUIRED_NUMPY = 'numpy>=1.9.1'


# from MDAnalysis setup.py (http://www.mdanalysis.org/)
# from MDAnalysis setup.py (https://www.mdanalysis.org/)
class NumpyExtension(Extension):
"""Derived class to cleanly handle setup-time (numpy) dependencies.
"""
Expand Down Expand Up @@ -59,7 +59,7 @@ def include_dirs(self):
def include_dirs(self, val):
self._np_include_dir_args = val

# from MDAnalysis setup.py (http://www.mdanalysis.org/)
# from MDAnalysis setup.py (https://www.mdanalysis.org/)
def get_numpy_include():
try:
# Obtain the numpy include directory. This logic works across numpy
Expand All @@ -83,7 +83,7 @@ def get_numpy_include():
print(e)
print('*** package "numpy" not found ***')
print('pyEDFlib requires a version of NumPy, even for setup.')
print('Please get it from http://numpy.scipy.org/ or install it through '
print('Please get it from https://numpy.org/ or install it through '
'your package manager.')
sys.exit(-1)
try:
Expand Down