Skip to content

Commit e304b92

Browse files
authored
Merge pull request #171 from achael/dev
merged dev into main for v1.2.6
2 parents 1ca33d0 + 7d71e25 commit e304b92

39 files changed

Lines changed: 112342 additions & 568 deletions

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ build/*
2020
data/3C279JUN16.UVP
2121
data/OJ287AUG10B.UVP
2222

23+
examples/*.log
24+
examples/*.mp4
25+
examples/old_examples/*
26+
examples/.ipynb_checkpoints/*
27+
28+
arrays/old_arrays/*
29+
30+
tutorials/tutorial_results/*
31+
2332
# Unit tests should be included
2433
!ehtim/tests/
2534
!ehtim/tests/test_*.py
35+
36+
.ipynb_checkpoints
37+

CITATION.cff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
cff-version: 1.2.4
1+
cff-version: 1.2.6
22
message: "If you use this software, please cite it as below."
33
authors:
44
- family-names: "Chael"
55
given-names: "Andrew"
66
orcid: "https://orcid.org/0000-0003-2966-6220
77
"
88
title: "eht-imaging"
9-
version: 1.2.4
10-
doi: 10.5281/zenodo.6519440
9+
version: 1.2.6
10+
doi: 10.5281/zenodo.7226661
1111
date-released: 2022-05-04
1212
url: "https://github.com/achael/eht-imaging"

README.rst

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The package contains several primary classes for loading, simulating, and manipu
1010
Installation
1111
------------
1212

13-
The latest stable version (`1.2.4 <https://github.com/achael/eht-imaging/releases/tag/v1.2.4>`_) is available on `PyPi <https://pypi.org/project/ehtim/>`_. Simply install pip and run
13+
The latest stable version (`1.2.6 <https://github.com/achael/eht-imaging/releases/tag/v1.2.6>`_) is available on `PyPi <https://pypi.org/project/ehtim/>`_. Simply install pip and run
1414

1515
.. code-block:: bash
1616
@@ -33,17 +33,23 @@ Installing with pip will update most of the required libraries automatically (`n
3333
3434
Alternatively, first install NFFT manually following the instructions on the `readme <https://github.com/NFFT/nfft>`_, making sure to use the ``--enable-openmp`` flag in compilation. Then install `pynfft <https://github.com/ghisvail/pyNFFT/>`_, with pip, following the readme instructions to link the installation to where you installed NFFT. Finally, reinstall ehtim.
3535

36+
**For M1 Macs (OS >= v12.0)**, install the M1 Mac version of `pynfft <https://github.com/rohandahale/pyNFFT.git>`_ and follow the instructions on the `readme <https://github.com/rohandahale/pyNFFT.git>`_. It has the instructions to install `fftw <http://www.fftw.org>`_, `nfft <https://github.com/NFFT/nfft>`_ and then `pynfft <https://github.com/rohandahale/pyNFFT.git>`_.
37+
3638
**Certain eht-imaging functions require other external packages that are not automatically installed.** In addition to pynfft, these include `networkx <https://networkx.github.io/>`_ (for image comparison functions), `requests <http://docs.python-requests.org/en/master/>`_ (for dynamical imaging), and `scikit-image <https://scikit-image.org/>`_ (for a few image analysis functions). However, the vast majority of the code will work without these dependencies.
3739

38-
Documentation
40+
Documentation and Tutorials
3941
-------------
40-
Documentation is `here <https://achael.github.io/eht-imaging>`_ .
42+
Documentation is `here <https://achael.github.io/eht-imaging>`_.
43+
44+
A intro to imaging tutorial jupyter notebook can be found in the repo at tutorials/ehtim_tutorial.ipynb
45+
46+
`Slides <https://docs.google.com/presentation/d/1A0y9omYI2ueSUa6_t5reylBhw6eiLwjqDzw-HUOk8Ac/edit?usp=sharing>`_ for the included tutorial walk through the basic steps of reconstructing EHT images with the code
4147

42-
A full tutorial is in progress, but here are some ways to learn to use the code:
48+
Here are some other ways to learn to use the code:
4349

4450
- Start with the script examples/example.py, which contains a series of sample commands to load an image and array, generate data, and produce an image with various imaging algorithms.
4551

46-
- `Slides <https://www.dropbox.com/s/7533ucj8bt54yh7/Bouman_Chael.pdf?dl=0>`_ from the EHT2016 data generation and imaging workshop contain a tutorial on generating data with the VLBI imaging `website <http://vlbiimaging.csail.mit.edu>`_, loading into the library, and producing an image.
52+
- Older `Slides <https://www.dropbox.com/s/7533ucj8bt54yh7/Bouman_Chael.pdf?dl=0>`_ from the EHT2016 data generation and imaging workshop contain a tutorial on generating data with the VLBI imaging `website <http://vlbiimaging.csail.mit.edu>`_, loading into the library, and producing an image.
4753

4854
Citation
4955
--------------------------------
@@ -122,7 +128,7 @@ Let us know if you use ehtim in your publication and we'll list it here!
122128

123129
- Unravelling the Innermost Jet Structure of OJ 287 with the First GMVA+ALMA Observations, `Zhao et al. 2022 <https://arxiv.org/pdf/2205.00554.pdf>`_
124130

125-
Documentation
131+
oifits Documentation
126132
----------------
127133

128134
The oifits_new.py file used for reading/writing .oifits files is a slightly modified version of Paul Boley's package `oifits <http://astro.ins.urfu.ru/pages/~pboley/oifits/>`_.

arrays/EHT2025wTESS.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#NAME X Y Z SEFDR SEFDL FR_PAR_ANGLE FR_ELEV_ANGLE FR_OFFSET[d] DR_RE DR_IM DL_RE DL_IM
2+
PDB 4523998.40 468045.240 4460309.760 1500 1500 0 0 0 0 0 0 0
3+
PV 5088967.9000 -301681.6000 3825015.8000 1400 1400 1 -1 0 0 0 0 0
4+
SMT -1828796.200 -5054406.800 3427865.200 5000 5000 1 1 0 0.012 0.106 -0.007 0.093
5+
SMA -5464523.400 -2493147.080 2150611.750 4900 4900 1 -1 45 0.022 0.009 0.008 0.010
6+
LMT -768713.9637 -5988541.7982 2063275.9472 600 600 1 -1 0 0 0 0 0
7+
ALMA 2225061.164 -5440057.37 -2481681.15 90 90 1 0 0 0 0 0 0
8+
SPT 0.01 0.01 -6359609.7 5000 5000 1 0 0 0 0 0 0
9+
APEX 2225039.53 -5441197.63 -2479303.36 3500 3500 1 1 0 0 0 0 0
10+
JCMT -5464584.68 -2493001.17 2150653.98 6000 6000 1 0 0 0 0 0 0
11+
CARMA -2397431.300 -4482018.900 3843524.500 10000 10000 0 0 0 0 0 0 0
12+
KP -1995678.840 -5037317.697 3357328.025 10000 10000 0 0 0 0 0 0 0
13+
GLT 1500692.0 -1191735.0 6066409.0 10000 10000 0 0 0 0 0 0 0
14+
TESS 0.0 0.0 0.0 10000 10000 0 0 0 0 0 0 0
15+
16+

arrays/ephemeris/ISS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
ISS
2-
1 25544U 98067A 22125.65004684 .00007804 00000-0 14483-3 0 9997
3-
2 25544 51.6425 187.2553 0006711 69.7320 66.5837 15.49943763338581
2+
1 25544U 98067A 23109.53559294 .00019257 00000-0 34454-3 0 9994
3+
2 25544 51.6389 259.1975 0006157 210.6524 231.6170 15.49989360392694
44

arrays/ephemeris/TESS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TESS
2+
1 43435U 18038A 23096.90060626 -.00000924 00000-0 00000-0 0 9994
3+
2 43435 37.5590 76.7615 4777727 169.3023 2.8332 0.07302504 994

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Documentation
6060
plotting
6161
scattering
6262
statistics
63+
survey
6364
vex
6465

6566

docs/source/model.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.. _model:
44

5-
Image
5+
Model
66
=====
77

88
.. automodule:: ehtim.model

docs/source/survey.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. module:: survey
2+
3+
.. _survey:
4+
5+
Survey
6+
===============
7+
8+
.. automodule:: ehtim.survey
9+
:members:
10+
11+

ehtim/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
import ehtim.movie
4343
import ehtim.image
4444
import ehtim.model
45+
import ehtim.survey
4546

4647

4748
import warnings

0 commit comments

Comments
 (0)