|
352 | 352 | "source": [ |
353 | 353 | "door_df = db.door(start, stop)" |
354 | 354 | ] |
| 355 | + }, |
| 356 | + { |
| 357 | + "cell_type": "markdown", |
| 358 | + "metadata": {}, |
| 359 | + "source": [ |
| 360 | + "# --------------------------------" |
| 361 | + ] |
| 362 | + }, |
| 363 | + { |
| 364 | + "cell_type": "markdown", |
| 365 | + "metadata": {}, |
| 366 | + "source": [ |
| 367 | + "# Getting metadata about your experiment\n", |
| 368 | + "\n", |
| 369 | + "Some information about your experiments are available with the following commands. They can be useful understand and study your results, don't hesitate to use them! \n", |
| 370 | + "\n", |
| 371 | + "If you need more information about those data, contact us on Discord or by email." |
| 372 | + ] |
| 373 | + }, |
| 374 | + { |
| 375 | + "cell_type": "code", |
| 376 | + "execution_count": null, |
| 377 | + "metadata": {}, |
| 378 | + "outputs": [], |
| 379 | + "source": [ |
| 380 | + "from neuroplatform import elab\n", |
| 381 | + "\n", |
| 382 | + "# Create the object elab()\n", |
| 383 | + "metadata = elab()\n", |
| 384 | + "metadata.check_server() # This should print : 'The server works !' if everything is fine!\n", |
| 385 | + "\n", |
| 386 | + "# Choose the experiment you want to study : here for example we use 'fs410'\n", |
| 387 | + "fs_name = \"fs410\"" |
| 388 | + ] |
| 389 | + }, |
| 390 | + { |
| 391 | + "cell_type": "markdown", |
| 392 | + "metadata": {}, |
| 393 | + "source": [ |
| 394 | + "1- Get the starting date of your experiment (the date when the organoids were put on the MEA) :" |
| 395 | + ] |
| 396 | + }, |
| 397 | + { |
| 398 | + "cell_type": "code", |
| 399 | + "execution_count": null, |
| 400 | + "metadata": {}, |
| 401 | + "outputs": [], |
| 402 | + "source": [ |
| 403 | + "starting_date = metadata.get_start_date(fs_name)\n", |
| 404 | + "print(starting_date)" |
| 405 | + ] |
| 406 | + }, |
| 407 | + { |
| 408 | + "cell_type": "markdown", |
| 409 | + "metadata": {}, |
| 410 | + "source": [ |
| 411 | + "2- Get the cell batch (the cell batch with which the organoids of your experiment were generated) :" |
| 412 | + ] |
| 413 | + }, |
| 414 | + { |
| 415 | + "cell_type": "code", |
| 416 | + "execution_count": null, |
| 417 | + "metadata": {}, |
| 418 | + "outputs": [], |
| 419 | + "source": [ |
| 420 | + "cell_batch = metadata.get_cell_batch(fs_name)\n", |
| 421 | + "print(cell_batch)" |
| 422 | + ] |
| 423 | + }, |
| 424 | + { |
| 425 | + "cell_type": "markdown", |
| 426 | + "metadata": {}, |
| 427 | + "source": [ |
| 428 | + "3- Get the medium (the medium that was used on the MEA to keep the organoids alive) :" |
| 429 | + ] |
| 430 | + }, |
| 431 | + { |
| 432 | + "cell_type": "code", |
| 433 | + "execution_count": null, |
| 434 | + "metadata": {}, |
| 435 | + "outputs": [], |
| 436 | + "source": [ |
| 437 | + "medium = metadata.get_medium(fs_name)\n", |
| 438 | + "print(medium)" |
| 439 | + ] |
| 440 | + }, |
| 441 | + { |
| 442 | + "cell_type": "markdown", |
| 443 | + "metadata": {}, |
| 444 | + "source": [ |
| 445 | + "4- Get the MEA (the name of the MEA on which your experiment is happening) :" |
| 446 | + ] |
| 447 | + }, |
| 448 | + { |
| 449 | + "cell_type": "code", |
| 450 | + "execution_count": null, |
| 451 | + "metadata": {}, |
| 452 | + "outputs": [], |
| 453 | + "source": [ |
| 454 | + "mea = metadata.get_mea(fs_name)\n", |
| 455 | + "print(mea)" |
| 456 | + ] |
| 457 | + }, |
| 458 | + { |
| 459 | + "cell_type": "markdown", |
| 460 | + "metadata": {}, |
| 461 | + "source": [ |
| 462 | + "5- Get the pump (the type of pump, the flux and the flux unit) :" |
| 463 | + ] |
| 464 | + }, |
| 465 | + { |
| 466 | + "cell_type": "code", |
| 467 | + "execution_count": null, |
| 468 | + "metadata": {}, |
| 469 | + "outputs": [], |
| 470 | + "source": [ |
| 471 | + "pump = metadata.get_pump(fs_name)\n", |
| 472 | + "print(pump)" |
| 473 | + ] |
| 474 | + }, |
| 475 | + { |
| 476 | + "cell_type": "markdown", |
| 477 | + "metadata": {}, |
| 478 | + "source": [ |
| 479 | + "6- Get the protocols (this gives indications about which version of MEA is used for this experiment) :" |
| 480 | + ] |
| 481 | + }, |
| 482 | + { |
| 483 | + "cell_type": "code", |
| 484 | + "execution_count": null, |
| 485 | + "metadata": {}, |
| 486 | + "outputs": [], |
| 487 | + "source": [ |
| 488 | + "protocols = metadata.get_protocols(fs_name)\n", |
| 489 | + "print(protocols)" |
| 490 | + ] |
| 491 | + }, |
| 492 | + { |
| 493 | + "cell_type": "markdown", |
| 494 | + "metadata": {}, |
| 495 | + "source": [ |
| 496 | + "7- Get the death date (the date when the organoids were removed from the MEA) :" |
| 497 | + ] |
| 498 | + }, |
| 499 | + { |
| 500 | + "cell_type": "code", |
| 501 | + "execution_count": null, |
| 502 | + "metadata": {}, |
| 503 | + "outputs": [], |
| 504 | + "source": [ |
| 505 | + "death_date = metadata.get_death_date(fs_name)\n", |
| 506 | + "print(death_date)" |
| 507 | + ] |
| 508 | + }, |
| 509 | + { |
| 510 | + "cell_type": "markdown", |
| 511 | + "metadata": {}, |
| 512 | + "source": [] |
355 | 513 | } |
356 | 514 | ], |
357 | 515 | "metadata": { |
|
0 commit comments