Giter Site home page Giter Site logo

myrafproject / myrafproject Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 262 KB

An Easy GUI for IRAF Photometry: MYRaf Project 3.0!

Home Page: http://myrafproject.org/

License: GNU General Public License v3.0

Python 99.94% Shell 0.06%
astronomy photometry photometry-pipeline

myrafproject's Introduction

What is MYRaf?

The MYRaf is a practicable astronomical image reduction and photometry software and interfaces for IRAF. For this purpose, MYRaf uses IRAF, PyRAF, and many other python packages with a Qt framework. Also, MYRaf is free software and distributed with a GPLv3 license. You can use it without restrictive licenses, make copies for your friends, school, or institution.

Installation

  • Clone MYRaf v3.0.0 from git.

    $ sudo apt install git
    $ git clone https://github.com/myrafproject/myrafproject.git
    $ cd myrafproject
  • Install IRAF and the required packages with the following series of commands.

    $ sudo apt install iraf
    $ sudo apt install python3-dev libx11-dev x11proto-dev libxcb-xinerama0
    $ pip install pyqt5 numpy astropy matplotlib ginga sep photutils ccdproc regions astroalign pyraf mplcursors imexam  
  • If you are using the bash terminal;

    $ export iraf=/usr/lib/iraf/
    $ export IRAFARCH=linux
  • If you are using fish terminal;

    $ setenv iraf /usr/lib/iraf/
    $ setenv IRAFARCH linux
  • Finally, run MYRaf v3,

    $ python3 main.py

If you have any problems during installation or usage, please contact us or create an issue. Before reporting an issue, please do not forget to run MYRaf v3 with DEBUG mode and share the outputs with us with the command below;

$ python3 main.py -ll 10 -lf issue.log

Clear skies!


MYRaf Project Team

Yücel KILIÇ | [email protected]

Mohammad SHEMUNI | [email protected]

For academic use, please cite the paper:

Shameoni Niaei, M.; Kilic, Y.; Özeren, F. F., 2015, MYRaf: An Easy Aperture Photometry GUI for IRAF, Astronomical Society of the Pacific (Conference Series), 496, 299 (2015).

Bibtex@ADS | ASP


Kilic, Y.; Shameoni Niaei, M.; Özeren, F. F.; Yesilyaprak, C., 2016, MYRaf: A new Approach with IRAF for Astronomical Photometric Reduction, RevMexAA (Serie de Conferencias), 48, 38–39 (2016).

Bibtex@ADS | RevMexAA

myrafproject's People

Contributors

mshemuni avatar yucelkilic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

myrafproject's Issues

Installation error -

Dear colleagues,

I'm having the following message while running the code:

No module named 'ginga.mplw.ImageViewCanvasMpl': Can't import ginga.

and the code stop running. Could you please help fixing this issue?

Thanks,

Volkan Bakış

Could not find the Qt platform plugin “xcb”

If such an error is encountered while loading MYRaf, the QT debug mode should be activated to get more detailed information.

export QT_DEBUG_PLUGIN=1

Then the problem can be solved by linking the .so file that could not be found.

sudo ln -s /usr/lib/x86_64-linux-gnu/libxcb-util.so.0 /usr/lib/x86_64-linux-gnu/libxcb-util.so.1

Can't import ginga.

Hi,

I finally managed to install Myraf on a Mint LMDE system, based on Debian 11, with Python 3.9.2
This time there was no installation error. However, when running the debug command it gives the error:

$ python3 main.py
Created directory /home/marcio/myrafproject/pyraf for cache
No module named 'ginga.mplw.ImageViewCanvasMpl': Can't import ginga.

$ python3 main.py -ll 10 -lf issue.log
No module named 'ginga.mplw.ImageViewCanvasMpl': Can't import ginga.

ERROR (1, "HDMGETR: No value found") Calibration-Dark Correction

This error occurs when dark correction is enabled.
This error is an old error and was described and solved in MYRaf V1.
The solution can be found in Google Code Archive. (https://code.google.com/archive/p/myrafproject/issues/14)

As described in the link, this error is not MYRaf related and belongs to IRAF itself. To solve this problem one must change a line in two separate files:

/iraf/iraf/noao/imred/quadred/src/quad/ccd.dat
The line might look like exptime itime, must be exptime exptime

/iraf/iraf/noao/imred/ccdred/ccddb/kpno/camera.dat
The line might look like exptime otime, must be exptime exptime

Please notice if you have IRAF installed using Ubuntu's repos the files path might be:
/usr/lib/iraf/noao/imred/quadred/src/quad/ccd.dat
/usr/lib/iraf/noao/imred/ccdred/ccddb/kpno/camera.dat

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.