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

Remove old Bu2019lm pickle file and updates to installation documentation #105

Draft
wants to merge 319 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
319 commits
Select commit Hold shift + click to select a range
7073191
Fix PL_BB_fixedT 4
Mar 23, 2022
93689c4
Add gaussian-process-api as an interpolation option
mcoughlin Apr 5, 2022
440233f
Add rubin-ToO as an option
mcoughlin Apr 14, 2022
2a3cfc0
Merge branch 'main' of github.com:nuclear-multimessenger-astronomy/nmma
mcoughlin Apr 14, 2022
7734db4
Add ability to read .dat files
mcoughlin Apr 14, 2022
22a52ef
adding too lims
Apr 14, 2022
cdeccea
Merge pull request #22 from niharika-sravan/main
mcoughlin Apr 14, 2022
59d8210
Working on ToOs
mcoughlin Apr 14, 2022
e84e851
fixing mag lim issues
Apr 15, 2022
527067d
Merge pull request #23 from niharika-sravan/main
mcoughlin Apr 15, 2022
4447cd5
Remove filters with data not simulated
mcoughlin Apr 15, 2022
b0c1074
Bug fix in case of missing filters
mcoughlin Apr 15, 2022
d0c537f
Keep upperlimits
mcoughlin Apr 15, 2022
2c7c8dc
installation file modified
ritwiksharma049 Apr 18, 2022
103996f
Merge pull request #25 from ritwiksharma049/file
mcoughlin Apr 18, 2022
8ec26af
Adding Rahul's contribution
tsunhopang Apr 19, 2022
9656822
Fix typo in recommended package
mcoughlin Apr 19, 2022
d707f81
Merge branch 'main' of github.com:nuclear-multimessenger-astronomy/nmma
mcoughlin Apr 19, 2022
5ac992b
ztf command line fixed
ritwiksharma049 Apr 23, 2022
7155a82
prior file changed in command line
ritwiksharma049 Apr 24, 2022
3c88ec0
Merge pull request #27 from ritwiksharma049/docfix
mcoughlin Apr 24, 2022
06b68d1
Add ability to train a "CV" model based on example objects
mcoughlin Apr 25, 2022
a3d8a30
Merge branch 'main' of github.com:nuclear-multimessenger-astronomy/nmma
mcoughlin Apr 25, 2022
bbf50a6
GRB211211A
mcoughlin Apr 26, 2022
635fc2c
no header
mcoughlin Apr 26, 2022
f166e5d
Update docs
mcoughlin Apr 26, 2022
283c8af
Add Bu2019nsbh as a training option
mcoughlin Apr 26, 2022
8ca7bd7
Add Bu2019nsbh prior file
mcoughlin Apr 26, 2022
2a2fb97
short and long grb priors
tahumada Apr 27, 2022
142509f
Merge pull request #28 from tahumada/main
mcoughlin Apr 27, 2022
11dbf2e
Merge branch 'main' into gp-api
mcoughlin Apr 27, 2022
3887821
Merge pull request #19 from mcoughlin/gp-api
mcoughlin Apr 27, 2022
15674eb
readme file modified
ritwiksharma049 Apr 27, 2022
49c482f
Merge pull request #29 from ritwiksharma049/readm
mcoughlin Apr 27, 2022
e556cdd
Include legend with all models when doing multi-modal fitting
mcoughlin May 5, 2022
6361255
Enable training of spectral models
mcoughlin May 19, 2022
bd7fd3c
Fix training tests
mcoughlin May 19, 2022
09bd919
minor changes to ensure interrow changes are handed to df sim and to …
May 20, 2022
d9f5204
clean up!
May 20, 2022
f2dadbd
Merge pull request #33 from niharika-sravan/main
mcoughlin May 20, 2022
3103e2d
Add simple prior file
mcoughlin May 20, 2022
395e212
Merge branch 'main' of github.com:nuclear-multimessenger-astronomy/nmma
mcoughlin May 20, 2022
31d2c11
Add ability to have different systematic error per filter
mcoughlin May 23, 2022
a6325b6
added descriptions in gwem_resampling.py and gwsamples_creation.py
May 24, 2022
e1df197
Merge pull request #35 from ninakuni/main
mcoughlin May 24, 2022
538d138
Fix error budget in case of upper limits
mcoughlin May 25, 2022
8c779ad
making too.csv output optional
May 30, 2022
e0eee7b
Merge pull request #37 from niharika-sravan/main
mcoughlin May 31, 2022
ee7570c
pymultinest instructions changed
ritwiksharma049 Jun 8, 2022
5e7068d
second commit on installation doc
ritwiksharma049 Jun 8, 2022
bde7b31
Merge pull request #39 from ritwiksharma049/readm
mcoughlin Jun 8, 2022
b630475
fix ref before assignment
dfinstad Jun 22, 2022
731cef4
remove extra chars
dfinstad Jun 22, 2022
b998802
Merge pull request #41 from dfinstad/fix_reqs
mcoughlin Jun 22, 2022
fcaf2ee
Merge pull request #40 from dfinstad/fix_em_analysis_vars
mcoughlin Jun 22, 2022
319eca9
switch to using tf model call
dfinstad Jun 22, 2022
0613ced
Merge pull request #42 from dfinstad/use_tf_model_call
mcoughlin Jun 23, 2022
cd216fd
Update docs with an additional example using the prior
Jun 29, 2022
1c1cc15
Merge pull request #43 from atoivonen13/docs
mcoughlin Jun 29, 2022
5148e0b
Make parameters more optional
mcoughlin Jun 30, 2022
bb4c15f
Refactor nmma.em.analysis
mcoughlin Jul 5, 2022
48ff87c
Raise minimum astropy version
mcoughlin Jul 5, 2022
795ab5b
Fix the intrinsic parameters
mcoughlin Jul 6, 2022
a89404c
revert to an earlier version of astropy
weizmannk Jul 10, 2022
48c9af9
Merge pull request #46 from weizmannk/main
mcoughlin Jul 10, 2022
98962d1
paralle_bilby typo on installation
weizmannk Jul 11, 2022
7bc86ae
Merge pull request #47 from weizmannk/main
mcoughlin Jul 11, 2022
aa9796c
Add SALT2
mcoughlin Jul 11, 2022
4e458bd
erge branch 'main' of github.com:nuclear-multimessenger-astronomy/nmma
mcoughlin Jul 11, 2022
c9d245d
Nina's TF files
mcoughlin Jul 15, 2022
55c0dc1
Add --optimal-augmentation-times as an option
mcoughlin Jul 16, 2022
2581c1e
Rename optimal -> photometry
mcoughlin Jul 16, 2022
7d1fded
Update fitting.md
atoivonen13 Jul 18, 2022
fe24db6
Merge pull request #48 from atoivonen13/docs
mcoughlin Jul 18, 2022
4b47dbf
Remove constant columns from corner plot
mcoughlin Jul 19, 2022
5b5a4a0
Merge branch 'main' of github.com:nuclear-multimessenger-astronomy/nmma
mcoughlin Jul 19, 2022
abc634f
Add request_disk to condor file
Jul 19, 2022
7f0bca1
Use f-strings
Jul 19, 2022
3008884
Add condor script
weizmannk Jul 20, 2022
b8e9014
new update of nmma's intallation
weizmannk Jul 20, 2022
ebf6ada
Merge pull request #50 from weizmannk/light-curve-analysis-condor
mcoughlin Jul 20, 2022
e7ceedf
Do not quit loop if some filter is nan
mcoughlin Jul 23, 2022
16a0ca0
Merge branch 'main' of github.com:nuclear-multimessenger-astronomy/nmma
mcoughlin Jul 23, 2022
a3a511c
A check on astropy version
mcoughlin Jul 23, 2022
3f5a43c
Upload GW prior file
mcoughlin Jul 28, 2022
a39a9e3
Update bilby requirement
mcoughlin Aug 17, 2022
ad3c82f
Merge pull request #51 from mcoughlin/bilby-requirement
mcoughlin Aug 18, 2022
aab2311
Update LICENSE
mcoughlin Aug 19, 2022
4272133
Merge branch 'main' of github.com:nuclear-multimessenger-astronomy/nmma
mcoughlin Aug 19, 2022
cb2367c
Update versions
mcoughlin Aug 19, 2022
ac1ac0e
make afterglowpy optional
mcoughlin Aug 19, 2022
bce2cea
Explicitly install pyafterglow for testing
mcoughlin Aug 19, 2022
d11a88b
misnamed dependency
mcoughlin Aug 19, 2022
b0cb1d6
Ok we can do 3.7 a bit longer
mcoughlin Aug 19, 2022
e34620e
Fail more gracefully for optional arguments
mcoughlin Aug 22, 2022
35322d6
Update to v0.0.8
mcoughlin Aug 22, 2022
98485d7
Adding a rubin flag
weizmannk Aug 24, 2022
6abfcb8
Merge pull request #52 from weizmannk/main
mcoughlin Aug 24, 2022
b0b132b
Break if all nan
mcoughlin Aug 26, 2022
6156c7b
Merge branch 'main' of github.com:nuclear-multimessenger-astronomy/nmma
mcoughlin Aug 26, 2022
69a1341
By default, save files separately when training
mcoughlin Sep 21, 2022
6759e11
Make the inference step agnostic to filter list
mcoughlin Sep 21, 2022
1d8f463
NSBH GWEMresampling
Oct 21, 2022
d090332
Merge pull request #54 from ninakuni/main
mcoughlin Oct 21, 2022
6950629
EOS weighting functions
Oct 21, 2022
15aae5f
Merge branch 'nuclear-multimessenger-astronomy:main' into eosweighting
ninakuni Oct 21, 2022
32a31b6
Merge pull request #55 from ninakuni/eosweighting
mcoughlin Oct 21, 2022
14dc680
Add files via upload
ninakuni Oct 27, 2022
d6d806f
Merge pull request #1 from ninakuni/ninakuni-patch-1
ninakuni Oct 27, 2022
b2f6769
Add files via upload
ninakuni Oct 27, 2022
cd0460c
Merge pull request #2 from ninakuni/ninakuni-patch-2
ninakuni Oct 27, 2022
5896032
Add files via upload
ninakuni Oct 27, 2022
af73d03
Merge pull request #3 from ninakuni/ninakuni-patch-3
ninakuni Oct 27, 2022
13ae00b
Create GW-EM-resampling.md
ninakuni Oct 27, 2022
2e7adcd
Merge pull request #4 from ninakuni/ninakuni-patch-1-1
ninakuni Oct 27, 2022
17950ee
GWEMresampling docs, files, tools
Oct 27, 2022
a8f0fe2
Delete example_files/tools/gwem_resampling/15nsat_cse_uniform_R14 dir…
ninakuni Oct 27, 2022
02719e9
prior mv to priorsdir
Oct 28, 2022
c35e14c
Merge pull request #57 from ninakuni/gwemresampling_docs
mcoughlin Oct 28, 2022
0621e70
Delete corner_samples.jpg
ninakuni Oct 29, 2022
67a0962
corner_samples.png file
ninakuni Oct 29, 2022
aea45a4
Update index.rst
ninakuni Oct 29, 2022
37fd6e4
Update GW-EM-resampling.md
ninakuni Oct 29, 2022
e7f941f
Update GW-EM-resampling.md
ninakuni Oct 29, 2022
672e443
Update GW-EM-resampling.md
ninakuni Oct 29, 2022
5ba0fb1
Merge pull request #58 from ninakuni/gwemresampling_docs
mcoughlin Oct 29, 2022
4827b64
add training data for latest Bulla model
shreyasahasram08 Nov 3, 2022
544d9f9
fix scikit-learn version at 1.0.2
weizmannk Nov 29, 2022
7340521
update the ZTF cadence
weizmannk Nov 29, 2022
09f82ba
add scikit-learn=1.0.2
weizmannk Nov 29, 2022
a43ad16
Merge pull request #59 from weizmannk/main
weizmannk Nov 29, 2022
9e7ef4a
Use astropy for speed_of_light constant
mcoughlin Jan 4, 2023
b9d8626
Merge pull request #60 from mcoughlin/speed_of_light
mcoughlin Jan 4, 2023
0db3db5
update ToO lims
weizmannk Jan 19, 2023
107d894
Merge pull request #61 from weizmannk/main
mcoughlin Jan 19, 2023
cf9b305
Corrected code line in combined_analysis.md
ritwiksharma049 Jan 24, 2023
c9ffe24
Merge pull request #62 from ritwiksharma049/main
weizmannk Jan 24, 2023
30d10f9
Add manual plot option
mcoughlin Feb 4, 2023
ddb5f14
Fix plotting to be in requested order
mcoughlin Feb 4, 2023
b80ae75
Add files via upload
FabioRagosta Feb 9, 2023
2b81123
Delete Tutorial_nmmalcsimulator.ipynb
FabioRagosta Feb 9, 2023
9b19ca4
Create README.md
FabioRagosta Feb 9, 2023
26ed1ef
Add files via upload
FabioRagosta Feb 9, 2023
7358196
Update README.md
FabioRagosta Feb 9, 2023
374356c
Update lightcurve detection script
weizmannk Feb 9, 2023
b71ffa9
Update create lightcurve
weizmannk Feb 9, 2023
d08ac84
Add events ID in bilby injection file
weizmannk Feb 9, 2023
61dbd33
Update create lightcurve
weizmannk Feb 9, 2023
ca03e64
validated lightcurve sim tutorial
tylerbarna Feb 9, 2023
393e2f1
Merge pull request #64 from weizmannk/main
mcoughlin Feb 9, 2023
4cc8d61
Merge pull request #63 from FabioRagosta/main
mcoughlin Feb 10, 2023
c3b97db
Pin scipy version to 1.9.3
weizmannk Feb 16, 2023
3c3edfd
Pin scipy version to 1.9.3
weizmannk Feb 16, 2023
0d92178
Update setup.py
mcoughlin Feb 16, 2023
5ab8b8f
Update requirements.txt
mcoughlin Feb 16, 2023
e37df71
Merge pull request #66 from weizmannk/main
mcoughlin Feb 17, 2023
7f60479
cluster jobscript and quick start fix.
ritwiksharma049 Feb 21, 2023
32139cd
Merge pull request #68 from ritwiksharma049/cluster
mcoughlin Feb 21, 2023
94ab39d
expanse script indexed and README.md corrected
ritwiksharma049 Feb 22, 2023
5c6ebdb
Merge pull request #70 from ritwiksharma049/cluster1
mcoughlin Feb 22, 2023
74f7881
check for parameter definitions
mcoughlin Feb 24, 2023
80b4655
fix lightcurve plot
mcoughlin Feb 24, 2023
2f579bf
Peter's flags added on request
ritwiksharma049 Mar 4, 2023
0cf12d3
Peter's changes added
ritwiksharma049 Mar 4, 2023
798874b
Peter's changes added
ritwiksharma049 Mar 4, 2023
f4a65cc
.priors changed to .prior
ritwiksharma049 Mar 5, 2023
7dec68b
Merge pull request #71 from ritwiksharma049/enlil
weizmannk Mar 5, 2023
2ab083f
add filter check in ztf sampling
tylerbarna Mar 5, 2023
16ce829
Merge branch 'possis-update' of github.com:shreyasahasram08/nmma into…
shreyasahasram08 Mar 7, 2023
1b4fc20
sample masses in log10
shreyasahasram08 Mar 7, 2023
c680f46
Merge pull request #73 from shreyasahasram08/possis-update
mcoughlin Mar 7, 2023
e39e782
add updated tensorflow models
shreyasahasram08 Mar 7, 2023
c7fd293
Merge pull request #74 from shreyasahasram08/possis-update
mcoughlin Mar 7, 2023
5d8dab5
Check for missing filters in kilonova simulation
mcoughlin Mar 8, 2023
1ef08db
Ad-hoc fix for the kilonova filter in Kilonova+GRB model
tsunhopang Mar 8, 2023
73c6675
Add ZTF20abwysqy to example candidate_data
mcoughlin Mar 9, 2023
49cf1d5
Add missing grb-resolution argument to create_lightcurves.py
mcoughlin Mar 9, 2023
23eec29
Add missing jet-type argument
mcoughlin Mar 9, 2023
ff34512
Add WARNING statement when detection too bright for intervals
mcoughlin Mar 10, 2023
cf1db41
Raise error if light curve is empty
mcoughlin Mar 11, 2023
b258635
added 2nd filt condition to ztf sampling
tylerbarna Mar 12, 2023
1a901fb
Merge pull request #72 from tylerbarna/lc-ztf-sampling-filters
weizmannk Mar 12, 2023
99697ca
Using getFilteredMag in GenericCombineLCModel
tsunhopang Mar 12, 2023
0fac34d
Add CVs
mcoughlin Mar 22, 2023
216dae2
add LANL models
mcoughlin Mar 28, 2023
c1844c3
Use KNtheta, rather than KNTheta
mcoughlin Mar 28, 2023
20d52aa
Adding total ejecta mass calculation in BNSEjectaFitting
tsunhopang Apr 10, 2023
282e04c
Merge pull request #79 from mcoughlin/lanl
mcoughlin Apr 11, 2023
d25d547
update and edit
weizmannk Apr 17, 2023
7d8d3a8
add tuto to simulate lc detection
weizmannk Apr 18, 2023
4061243
Update nmma/em/detect_lightcurves.py
weizmannk Apr 18, 2023
49100cb
Update nmma/em/detect_lightcurves.py
weizmannk Apr 18, 2023
3f58eec
Update nmma/em/detect_lightcurves.py
weizmannk Apr 18, 2023
8719332
Update nmma/em/detect_lightcurves.py
weizmannk Apr 18, 2023
08ac6b4
Update nmma/em/detect_lightcurves.py
weizmannk Apr 18, 2023
5f1b2da
Update nmma/em/detect_lightcurves.py
weizmannk Apr 18, 2023
f0d9e4d
Update nmma/em/detect_lightcurves.py
weizmannk Apr 18, 2023
e7645d1
Update nmma/em/detect_lightcurves.py
weizmannk Apr 18, 2023
92a76f1
Update nmma/em/detect_lightcurves.py
weizmannk Apr 18, 2023
1cc317e
Update nmma/em/create_lightcurves.py
weizmannk Apr 19, 2023
27e5173
Update nmma/em/create_lightcurves.py
weizmannk Apr 19, 2023
1f412c7
update
weizmannk Apr 19, 2023
1577f88
update
weizmannk Apr 19, 2023
ef58d24
Merge pull request #80 from weizmannk/main
weizmannk Apr 19, 2023
5c6a723
Revise installation docs and add arm64 Mac specifics
bfhealy May 10, 2023
30bfeb0
Merge pull request #84 from bfhealy/install-notes
mcoughlin May 10, 2023
2b7e50b
Update wrapt_timeout_decorator import error message
bfhealy May 10, 2023
a42bd77
Merge pull request #85 from bfhealy/change-import-message
mcoughlin May 10, 2023
10887aa
Adding GW analysis in nmma (WIP)
tsunhopang May 11, 2023
461210c
Add more arm64 Mac installation troubleshooting
bfhealy May 11, 2023
722b02d
Merge pull request #86 from bfhealy/more-install-details
bfhealy May 11, 2023
8b275e7
Add ignore-bolometric flag
bfhealy May 12, 2023
6bbb724
Merge pull request #89 from bfhealy/nobol-flag
mcoughlin May 12, 2023
2b67c00
Add logo
mcoughlin May 13, 2023
32ab88f
bigger
mcoughlin May 13, 2023
9051602
Update installation.md
tylerbarna May 15, 2023
9bb7287
Merge pull request #90 from tylerbarna/main
mcoughlin May 15, 2023
61ed83d
removed zero division errors
May 22, 2023
8484fea
Merge pull request #92 from sahiljhawar/main
mcoughlin May 22, 2023
4e5ba15
Revert "added missing $ in Kappa"
May 23, 2023
e1601f2
Revert "missing $ in kappa"
May 23, 2023
9514e7d
added missing kappa
May 23, 2023
562fa48
Merge pull request #93 from sahiljhawar/changes
mcoughlin May 23, 2023
534ba5f
Rectified
May 23, 2023
6fb23bf
Merge pull request #94 from sahiljhawar/changes
mcoughlin May 23, 2023
04e28af
Major bilby, bilby-pipe, parallel-bilby version jump
May 26, 2023
1ac840e
Update requirements.txt
tsunhopang May 26, 2023
5ea97c8
Run workflow on pull requests
bfhealy May 26, 2023
e03536d
Fix typo
bfhealy May 26, 2023
04107ab
Add python 3.10 to test
bfhealy May 26, 2023
36cfd8b
Make python versions strings
bfhealy May 26, 2023
43f23c3
Branch update
bfhealy May 26, 2023
dc05e3e
Merge pull request #96 from bfhealy/workflow-updates
mcoughlin May 26, 2023
5970983
Adding the filters as input for nmma_analysis
May 29, 2023
7202421
Update argument for InjectionCreator
tsunhopang May 30, 2023
3979fd5
Adding functionality for sampling over Hubble constants
tsunhopang Jun 3, 2023
672e639
Adding --injection-model in light_curve_analysis
tsunhopang Jun 3, 2023
834378f
Bugfix for previous commit
tsunhopang Jun 3, 2023
4dacc9d
Adding functionality for sampling over Hubble constants for light_cur…
tsunhopang Jun 6, 2023
32bfa75
Fixing typos of 'Hubble_constants'
tsunhopang Jun 6, 2023
f949e39
Enabled training for Mattia's latest models
mcoughlin Jun 7, 2023
5383264
Make nmma analysis sncosmo-filter compatibile
mcoughlin Jun 10, 2023
7ecaa01
Add LANL file reader
mcoughlin Jun 13, 2023
17e629f
Bump NMMA to 0.0.9
mcoughlin Jun 13, 2023
5d118ac
Render description with markdown
mcoughlin Jun 13, 2023
5f6d4bb
Sort filters in list
mcoughlin Jun 13, 2023
6c344db
Expand scikit-learn requirements to be >= 1.0.2
mcoughlin Jun 14, 2023
87ad09a
Tag nmma 0.0.10
mcoughlin Jun 14, 2023
2041473
Add ligo.skymap to requirements list
mcoughlin Jun 14, 2023
4d6b52f
remove old Bu2019lm pkl, docs update
tylerbarna Jun 14, 2023
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
Prev Previous commit
remove old Bu2019lm pkl, docs update
Removes the old Bu2019lm.pkl file in svdmodels and updates the documentation to include links to the oversized pickle files required to use the Bu2019lm model. Also added a note about creating a symbolic link between svdmodels folders and reorganized some of the referenced installation issues for clarity and changed some of bare urls to be hyperlinks.
  • Loading branch information
tylerbarna committed Jun 14, 2023
commit 4d6b52f692971b8ba876b99707bafe02b34a59cc
76 changes: 48 additions & 28 deletions doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,29 +90,40 @@ OR
$ pip install parallel-bilby
```

Note: for those installing on WSL with pip, you may encounter an issue with installing parallel-bilby due to a dependency on python-ligo-lw.
This can be resolved by installing gcc with the following command:
Finally, navigate to where you have downloaded the nmma repository and run the following command to install NMMA:
```
$ python setup.py install
```
OR

```
$ sudo apt-get install gcc
$ pip install .
```

and attempting to install parallel-bilby again.
**Kilonova Models**
In order to run the Bu2019lm model, you will need to download the kilonova pickle files. They can be found at the following links:

- [Bu2019lm_mag.pkl](https://drive.google.com/file/d/1oEgXqTya65laRs-lUzG1LR9labNrZSHa/view) (3.2 GB)
- [Bu2019lm_lbol.pkl](https://drive.google.com/file/d/1y4VTu-KVFp9rkYzQ1sm32_kZa4uru5jF/view) (0.3 GB)

These will need to be placed in the ```svdmodels/``` folder.

While most utilities in NMMA include a parameter to specify the location of the svdmodels folder, it is recommended to create a [symbolic link](https://manpages.ubuntu.com/manpages/focal/en/man1/ln.1.html) to the svdmodels folder in the nmma directory and the conda installation directory. This can be done by running something along the lines of:

Install pymultinest (note this line may not work for arm64 Macs; see specifc instructions below)
```
$ conda install -c conda-forge pymultinest
ln -sf /Users/[username]/anaconda3/envs/[nmma_env]/lib/[python_version]/site-packages/nmma/em/svdmodels/ /Users/[USERNAME]/nmma/svdmodels
```

NOTE: In case an error comes up during an NMMA analysis of the form:
where [USERNAME] is your username, [nmma_env] is the name of your nmma environment, and [python_version] is the version of python you are using (e.g. 'python3.8'). This command may need to be modified depending on your specific file system or anaconda configuration. It may also be necessary to run the command with sudo permissions depending on your file system permissions. Once the symbolic link is created, running NMMA utilities that make use of the svdmodels folder will use the files present in the NMMA repository svdmodels folder.

**Known Issues**
1. In case an error comes up during an NMMA analysis of the form:

ERROR: Could not load MultiNest library "libmultinest.so"
ERROR: You have to build it first,
ERROR: and point the LD_LIBRARY_PATH environment variable to it!

Then, for using the PyMultinest library, it is required to get and compile the Multinest library separately. Instructions for the same are given here:

https://johannesbuchner.github.io/PyMultiNest/install.html
Then, for using the PyMultinest library, it is required to get and compile the Multinest library separately. Instructions for the same are given [here](https://johannesbuchner.github.io/PyMultiNest/install.html)


Use the commands below to install the dependencies given in requirements.txt file which are necessary for NMMA:
Expand All @@ -122,35 +133,48 @@ $ pip install -r requirements.txt
$ python setup.py install
```

NOTE: there is an issue pip installing `pyfftw` on arm64 Mac systems; see the dedicated section below for a solution. If any package appeared to have an issue installing, you can first check by attempting to install it again using pip:

* $ pip install importlib_resources
2. For those installing on WSL with pip, you may encounter an issue with installing parallel-bilby due to a dependency on python-ligo-lw.
This can be resolved by installing gcc with the following command:

```
$ sudo apt-get install gcc
```

* $ pip install extinction
and attempting to install parallel-bilby again.

Install pymultinest (note this line may not work for arm64 Macs; see specifc instructions below)
```
$ conda install -c conda-forge pymultinest
```

* $ pip install dill
3. Due to the web of package requirements that NMMA depends on, there can be unresolved package versioning issues. These can usually be resolved by pinning the version of the packages that are causing the issue before reattempting the installation. For example, if the installation fails due to an issue with astropy, then running the following command:
```
pip install astropy==4.3.1
```
However, please open a [new issue](https://github.com/nuclear-multimessenger-astronomy/nmma/issues/new) if there appear to be unresolvable conflicts.

4. There is an issue pip installing `pyfftw` on arm64 Mac systems; see the dedicated section below for a solution. If any package appeared to have an issue installing, you can first check by attempting to install it again using pip:

```
* $ pip install importlib_resources
* $ pip install extinction
* $ pip install dill
* $ pip install multiprocess


* $ pip install lalsuite


* $ pip install python-ligo-lw

```

NOTE: If everything has gone smoothly, all of these above mentioned "pip install something" commands will show that the requirements have already been satisfied. Otherwise, these will cover the dependencies
if not covered by python setup.py install. Also, if running python setup.py install shows something on the lines of "cannot cythonize without cython", do:
if not covered by python setup.py install. Also, if running python setup.py install shows something on the lines of "cannot cythonize without cython", run:

```
* $ conda install -c anaconda cython==0.29.24
```

and redo python setup.py install.
and reattempt NMMA installation.

**Known arm64 Mac issues**
1. For arm64 Macs (e.g. M1, M2), there is an issue installing `pyfftw` with pip (see https://github.com/pyFFTW/pyFFTW/issues/349#issuecomment-1468638458). To address, use `Homebrew` to run
1. For arm64 Macs (e.g. M1, M2), there is a [documented issue](https://github.com/pyFFTW/pyFFTW/issues/349#issuecomment-1468638458) installing `pyfftw` with pip. To resolve this, use `Homebrew` to run
```
$ brew install fftw
```
Expand Down Expand Up @@ -207,11 +231,7 @@ those with their given commands. In case modules like afterglowpy and dust_extin

Please pay special attention to the `import nmma.em.analysis` and make sure that it does not generate any errors.

Unfortunately, due to the web of package requirements that NMMA depends on, running setup.py does not typically finish without errors the first time through. Experience has shown that in the vast majority of cases, simply pinning versions such as:
```
pip install astropy==4.3.1
```
and then trying again is sufficient for completion of the installation. This instruction file will likely cover the issues you might face during your installation. However, please open issues on GitHub if there appear to be unresolvable conflicts.
If there are no errors, it is recommended to attempt the [quickstart tutorial](https://nuclear-multimessenger-astronomy.github.io/nmma/)


## Installation on expanse and other cluster resources
Expand Down
Binary file removed svdmodels/Bu2019lm.pkl
Binary file not shown.