Comments (6)
@santhoshn Thanks for the wonderful work.I have used this code to port it to my Java Android App.
from panchanga.
I am glad to know that you found this Panchanga calculator useful. For finding Chandra Masa(In case if you still haven't figured out), you may find this information below useful:
Chandramana mAsa is named according to the Nakshatra prevailing in the respective Poornima day of the month as follows:
Chaitra Poornima---- Chitra Nakshatra--- -Chaitra mAsa
Vaishaka Poornima---- Visaka Nakshatra--- -Vaishaka mAsa
Jyeshtha Poornima---- Jyeshta Nakshathra-- --Jyeshta mAsa
Ashadha Poornima---- P. Ashadha or U. Ashadha Nakshatra--- --Ashadha mAsa
Sravana Poornima---- --Sravana Nakshatra--- --Sravana mAsa
Bhadrapada Poornima---- --P. Bhadra or U. Bhadra Nakshatra--- -- Bhadrapada mAsa
Aswija Poornima---- --Aswini Nakshatra--- ---Aswija mAsa
kArtika Poornima---- -Krittika Nakshatra--- --Kartika mAsa
mArgasira Poornima---- -Mrigasira Nakshatra--- --Margasira mAsa
Pushya Poornima---- --Pushya Nakshatra--- -Pushya mAsa
mAgha Poornima---- -Magha Nakshatra--- --Magha Masa
PhAluga Poornima---- -P Phalguni or U Phalguni Nakshatra--- ---PhAlguna mAsa
In your code, you have find the Poornima day, check Nakshathra on that day and find the Masa(create a hashmap for this) from the list above. I found this link useful:
http://madhwamixer.blogspot.in/2010/10/basic-things-to-know-about-panchanga.html
from panchanga.
Thanks for the response. The link too provide useful information.
I am sorry for the previous post/comment where my verification was wrong. Now I will check/verify to get the Chandra Masa as per your information and also following the link you provided.
Thanks & regards,
K Kafle
from panchanga.
@santhoshn Thanks for this wonderful code. Can you point me to some resources that I can use to learn about calculations used in the code?
from panchanga.
@aatishnn I wrote this somewhere in 2005. I am not able find those web pages I referred to. Here are some pages that are available now to calculate Sun and Moon's longitude:
https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/22992/versions/5/previews/LunarAzEl.m/index.html
https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/23190/versions/1/previews/SPOT/SolarAzEl.m/index.html
You basically need the above 2 values. Calculation of the rest are based on them.
from panchanga.
@santhoshn thank you very much.
from panchanga.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panchanga.