Commit Graph

46 Commits

Author SHA1 Message Date
Alexander Bock d7d279ea16 Happy new year 2022-01-01 12:32:55 +01:00
Emma Broman d7565f65ee Add script to download the expolanets dataset for the dataprep task
* Python script to download all the columns needed
* Update task file. Use strings instead of std::filesystem::path, so that relative paths and tokens can be used
2021-11-15 13:44:57 +01:00
Alexander Bock 63cbf270ee Adapt to changes in codegen that require specifying the identifier in the codegen::doc function 2021-05-25 23:10:12 +02:00
Alexander Bock 92432caed2 Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string 2021-05-17 00:23:15 +02:00
Alexander Bock 139d2c6c6d Apply more codegen checks (#1579)
* Apply more codegen checks
2021-05-08 00:44:23 +02:00
Emma Broman 29e77534c7 Make use of new verifiers (Color and File) (#1510)
* Use codegen for renderable discs

* Utilize color and file verifier

* Add missing property assignment in exoplanets module
2021-03-02 08:11:49 +01:00
Emma Broman f9e712a8e7 Supress a warning in exoplanets task 2021-02-09 13:56:42 +01:00
Alexander Bock 6d821d4f91 Feature/codegen (#1480)
* Add the ability to automatically generate code to extract values out of a Dictionary (see https://github.com/openspace/codegen for more information on how to use this)
* Applied this technique to a large number of cases in the codebase
* Don't add _codegen files to the repository

Co-authored-by: Emma Broman <emma.broman@liu.se>
2021-02-09 09:12:43 +01:00
Emma Broman 4834851320 Merge branch 'master' into issue/1395 and resolve conflict 2021-01-07 11:01:20 +01:00
Alexander Bock 7004c02b86 Happy new year 2021-01-02 15:26:51 +01:00
Emma Broman 4370b26a68 Address review comments 2020-12-18 13:55:41 +01:00
Emma Broman 05651d1aa3 Add habitable zone representation for exoplanet systems 2020-12-14 10:53:46 +01:00
Emma Broman 51869784fd Add some additional data about the star 2020-12-14 10:53:46 +01:00
Emma Broman 63160768d5 Exoplanets cleanup (#1428)
* Remove name conversion to match speck file
 * Instead update the speck file so that the names are consistent between files
 * Tiny cleanup
 * Enable visualization of systems with a subset of planets missing data
 * Prevent overriding star information with non valid data
2020-12-08 20:55:10 +01:00
Alexander Bock 86bb19d81c Feature/warnings (#1425)
* Remove MSVC, GCC, Clang compiler warnings
* Remove cppcheck warnings
2020-12-07 23:43:05 +01:00
Alexander Bock 60e3ed2170 General pass for coding style 2020-11-28 22:31:06 +01:00
Emma Broman bf49ad76f2 Cleanup 2020-10-12 09:15:07 +02:00
Emma Broman 9616782ab7 Remove the old data preparation task 2020-10-09 15:52:41 +02:00
Emma Broman e11a8f80a4 Merge branch 'master' into issue/1303 2020-10-09 15:41:47 +02:00
Emma Broman 4d6fb59ea5 Add helper function to convert from ICRS to galactic coords
Also includes creating a util file for coordinate conversions
2020-10-09 12:48:16 +02:00
Emma Broman 04ea70365a Compute star position from data if not found in speck file 2020-10-09 12:48:16 +02:00
Emma Broman 518bcdeeba Add fix for std::from_chars not working on Linux 2020-10-09 12:48:16 +02:00
Emma Broman 250dbcc3f1 Add task for reading the new exoplanet data in csv format
Also cleanup old exoplanet code a bit based on that new data
2020-10-09 12:47:02 +02:00
Emma Broman 3cc2d2aedf Fix for compile errors in Linux in exoplanets module 2020-10-07 17:12:06 +02:00
Emma Broman 3310d954b3 Fix typo 2020-09-28 16:14:55 +02:00
Emma Broman 754128a9e7 Some final cleanup 2020-09-28 11:37:28 +02:00
Emma Broman c32de00bd8 Remvoe trailing whitespaces 2020-09-23 08:41:33 +02:00
Emma Broman 1a5c0d3672 More cleanup
string_view and avoid warnings from implicit conversions
2020-09-18 14:34:06 +02:00
Emma Broman 938fc49f82 Fix spelling mistake 2020-09-18 11:14:07 +02:00
Emma Broman 32c2e59330 Change uppercase struct variables to camelcase 2020-09-18 11:10:15 +02:00
Emma Broman 614c523c69 Cleanup data reading in csvtobintask 2020-09-18 10:11:32 +02:00
Emma Broman d0806e0136 Cleanup 2020-09-18 09:33:04 +02:00
Emma Broman f2b4909a32 Some cleanup of helper functions 2020-09-18 08:50:06 +02:00
Emma Broman 5671ea1463 Update copyright end year (woops) 2020-09-17 16:36:02 +02:00
Emma Broman 0d1e464a64 Documentation cleanup and capitalize first letter in "Disc" in renderable 2020-09-16 15:16:15 +02:00
Emma Broman 0b4593a194 Put exoplanet data files on server and fetch using HttpSynchronization 2020-09-16 09:32:16 +02:00
Emma Broman cef3fb69f4 Some more cleanup 2020-08-28 16:59:23 +02:00
Emma Broman 99720d95ca Helper file for exoplanet data structure and replace magic numbers with constants 2020-08-28 16:31:48 +02:00
Emma Broman 9e5251630a Clean up code and get it to run (using correct data files) 2020-08-27 16:30:03 +02:00
Emma Broman 9fac7fbd83 Untabify and start cleanup 2020-08-25 16:19:43 +02:00
Alexander Bock eb3f7b9559 Adapt hardcoded paths
Don't crash when adding new scenegraphnodes
2018-12-06 15:30:01 -05:00
KarRei 4c91ece7fc Planet name made up from STAR + COMP instead of taken from NAME and highest default value for B-V changed 2018-11-05 15:59:09 +01:00
KarRei 0b36ccc0bb Cleanup comments 2018-05-22 11:05:14 -04:00
KarRei cf897648d2 Calculates and saves a B-V value for each exoplanet(star) 2018-04-30 13:50:31 -04:00
KarRei 62acf30c1c Unit transformationMatrix added. 2018-04-19 10:20:31 -04:00
KarRei bb51614716 csv to bin task added 2018-04-17 18:17:16 -04:00