Skip to main content

MERIDA: MOA9yr Exploration and Research Interface for Dataset Analysis Resources

Project description

merida

MERIDA: MOA9yr Exploration and Research Interface for Dataset Analysis

Installing from github (should be most updated available version):

git clone https://github.com/stelais/merida.git
pip install -r requirements.txt

Installing as a pip package:

pip install merida

To visualize a light curve from the MOA 9 year dataset:

  • In visualization_tool.py:
    • Change the lightcurve_name variable to the name of the light curve you want to visualize.
    • Define where your data is data_path ='data/positive'

After done that, you just have to run the following command in the terminal:

bokeh serve --show visualization_tool.py

To locally download a single MOA9yr lightcurve from the NExSci archive:

  • In lightcurve_downloader.py:
    • Change the lightcurve_name variable to the name of the light curve you want to download.
    • You can change the path by adding the variable path_to_save_ ='[the_path_you_want_]/'

After done that, you just have to run the following command in the terminal:

python lightcurve_downloader.py

To locally download ALL MOA9yr lightcurves from the NExSci archive [can be improved]:

  • This will take ~ 55 days... For now, I recommend breaking this function in 15 pieces and run parallel, e.g. piece #2:
    metadata = Metadata()
    n = 2
    df_total = metadata.dataframe
    df_temp = df_total[df_total['ROW_NUM'] > (n-1)*160604]
    df = df_temp[df_temp['ROW_NUM'] <= n*160604]
    
  • In all_lightcurves_downloader.py:
    • You can change the path by changing the variable path_to_save_ ='[the_path_you_want_]/'
    • You can also change the extension lightcurve_extension_='.[extension]'. Only feather and CSV supported for now.

After done that, you just have to run the following command in the terminal:

python all_lightcurves_downloader.py

[Currently]

  • All lightcurves from MOA 9 year data set from NEXSci archive should work. If it doesn't work, you can let me know.
  • Script to download ALL lightcurves from MOA 9 year data set from NEXSci archive.
  • Script to read METADATA.

[Future]

  • Identify any data for MOA 9 yeardata set from NEXSci archive based on RA and DEC.

[Virtual tool in progress...] https://merida.onrender.com/visualization_tool

  • Only the light curve gb10-R-5-6-130249 as an example (it load this data from this Github repository)

  • Takes about one minute to load it visualization_tool.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

merida-0.2.2.tar.gz (7.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

merida-0.2.2-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file merida-0.2.2.tar.gz.

File metadata

  • Download URL: merida-0.2.2.tar.gz
  • Upload date:
  • Size: 7.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for merida-0.2.2.tar.gz
Algorithm Hash digest
SHA256 2b7e32af321ebb2c5d991ab21b95ed1ddab70b26bddae1e5123367dd067f58be
MD5 3645f75cd35980c538e5ccad9d1db2ba
BLAKE2b-256 51509c745d591d5935228b2303ab727682d0e51db357436d79474b3cd15b4877

See more details on using hashes here.

File details

Details for the file merida-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: merida-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for merida-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bf13a1e0f972cf1a4ccdf8dbca8fc98315661b93dac667d68c139d805615c09f
MD5 f91cccc8d6d05bdde657ac3222e60950
BLAKE2b-256 d7ed57037ca025955b8b5e479b01a739839c2a8df64c72eaee25232951a25fcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page